question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Buttons not showing?

See original GitHub issue

I have been trying to figure this out for the past couple of hours and I’m not getting anywhere.

I have imported NaughtyAttributes from the Asset Store and also tried from Github,

Unity3D: 2019.3.3f1 NaughtyAttributes: 2.0.3

I’ve attach this script to a empty GameObject in a empty scene: (I’ve also tested it out in the NaughtyAttributes test scene and the button still don’t show)

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using NaughtyAttributes;

public class DataController : MonoBehaviour
{
    [Button]
    public void PleaseWork() { }
}

I don’t know if I’m missing a key bit of information.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
LukeSeerscommented, Mar 8, 2020

Right, I’ve got it working. Thank you for your help mate!

0reactions
LukeSeerscommented, Mar 8, 2020

I had a couple of assets which was overriding NaughtyAttributes. Since I was just playing around with them I just removed them.

If you want to recreate the issue I was having here are the assets I was using (I would like to add that it was one of these, I don’t know if it was both causing the issue):

https://assetstore.unity.com/packages/vfx/shaders/free-skybox-extended-shader-107400 https://assetstore.unity.com/packages/tools/modeling/splinemesh-104989

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is my button not appearing on the page? - html
Perhaps something else in your CSS file is causing the submit button to be hidden. Try disabling your CSS styles for the entire...
Read more >
Buttons not Showing in Dashboard Settings and on Website
When in the settings, in WP dashboard, the share buttons images do not show up. They do not show up on the website...
Read more >
Anyone know how to fix controller buttons not showing on of?
Just the buttons do not show when I'm playing the game only the keys still. Anyone know how to fix? 1.
Read more >
Buttons and other clickable items not displaying on various ...
On various websites, buttons are no longer displaying visually even though they are there and can be clicked. This has rendered the sites ......
Read more >
Home, Back Button & Recent not Showing Problem - YouTube
Hello Friends!! Hope Aap Sabhi Achhe hai... Home, Back Button & Recent not Showing Problem | Home Button Not Working | Navigation Buttons ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found