World UI in a certain creator's world causes UI in other worlds to break
available in future release
Killed By Code
- Open up vrchat
- Go into any world made by The Snooze (Note The Snooze sells maps so this can be more than just worlds upload by The Snooze it can be in any of the worlds that The Snooze sells and then are uploaded by someone else)
- Now go into any world that is made by someone else where the UI uses unity's Default UI Material (I went to gigas as an example but most places have this issue)
- Notice that all text is stuck behind the background UI
This seems to be related to something to do with the announcement feature in the worlds The Snooze makes. I think it is overwriting the default UI to sit on a different render queue. Normally Default UI Material render queue is on 3000 after hitting play on the unity editor you can see that his code for the announcement system sets the Default UI Material render queue to 4000. This cause all text to be behind all images that don't have Material set on the component (see images attached). The only way to fix this is by restarting vrchat and avoid going to The Snooze's uploads and any other creator's world that use The Snooze's prefab world as a base.
Log In
This post was marked as
available in future release
Provania
It appears this isn't fixed and still is easily reproducible. A member of the team mentioned that the fixed should be in already, and recommended me to open up a new canny for visibility. https://feedback.vrchat.com/bug-reports/p/world-ui-in-some-worlds-causes-ui-in-other-worlds-to-break
StormRel
marked this post as
tracked
The Snooze
I was aware something odd was happening with UI rendering after visiting my worlds, but I only recently tracked down the exact cause. The issue came from my announcement system unintentionally changing Unity’s default UI material render queue, which then carried over into other worlds.
I’ve fixed the script so it no longer affects Unity’s default UI material globally. I’ll be updating my own worlds, and I’ve updated the prefab package with the fix. To make sure everyone can apply it easily, I’ve made the prefab free.
I’ve also included an editor script that resets all render queues in a project.
I sincerely apologize for the disruption this caused, it was never intentional!