- Home /
UI: Dropdown in worldspace
I will keep this short and simple. Basically, I have a dropdown list on a world space canvas, and it does not work. The contents are gone and there is nothing there to click on. What should I do to fix this?
[EDIT]: I felt as if I was not explicit enough, since I wrote this in the spur of the moment. Basically when I click on these dropdowns, I get an empty dropdown. It looks like this: (Note the error in the bottom that appears each time I click on the dropdown)
Link: http://imgur.com/a/FQTOy
Also, the options are not empty, I can validate that.
When you make a world space canvas, you need to set its Event camera. Just drag your main camera in to that slot in the inspector, this is usually what gets people. If not, make sure everything is enabled and interactable, its all on the UI layer, they don't ignore raycasts, and it isn't facing away from the camera. If a canvas is backwards, raycasts might go through it.
See here's the funny thing. I tried that, and it still doesn't seem to work. The dropdown works however, when it is on a canvas that is set to Screen Overlay ins$$anonymous$$d of World space...and searching the inter-webs for this yielded no results either... what to do...hmm?