Editor Error after Stop Play
I get this error everytime after I stop play.
NullReferenceException: Object reference not set to an instance of an object
Noesis.UIRenderer.Noesis_NotifyDestroyRenderer (Int32 rendererId) (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisUIRendererImports.cs:73)
Noesis.UIRenderer.Destroy () (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisUIRenderer.cs:75)
NoesisGUIPanel.DestroyRenderer () (at Assets/Plugins/NoesisGUI/Scripts/NoesisGUIPanel.cs:176)
NoesisGUIPanel.OnDestroy () (at Assets/Plugins/NoesisGUI/Scripts/NoesisGUIPanel.cs:167)
Obviously its saying rendererId is null but I can't figure out why this is. Also I'm having another issue not sure if its related but in a Standalone build with just a empty scene a camera and a noesis gui panel on the camera object my game crashes on close everytime. If i disable the panel there is no crash at all. This is also just an empty xaml file with just a Grid so I don't see what could be causing the crash. Any help is appreciated.
NullReferenceException: Object reference not set to an instance of an object
Noesis.UIRenderer.Noesis_NotifyDestroyRenderer (Int32 rendererId) (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisUIRendererImports.cs:73)
Noesis.UIRenderer.Destroy () (at Assets/Plugins/NoesisGUI/Scripts/Core/NoesisUIRenderer.cs:75)
NoesisGUIPanel.DestroyRenderer () (at Assets/Plugins/NoesisGUI/Scripts/NoesisGUIPanel.cs:176)
NoesisGUIPanel.OnDestroy () (at Assets/Plugins/NoesisGUI/Scripts/NoesisGUIPanel.cs:167)
Obviously its saying rendererId is null but I can't figure out why this is. Also I'm having another issue not sure if its related but in a Standalone build with just a empty scene a camera and a noesis gui panel on the camera object my game crashes on close everytime. If i disable the panel there is no crash at all. This is also just an empty xaml file with just a Grid so I don't see what could be causing the crash. Any help is appreciated.
-
sfernandez
Site Admin
- Posts: 3188
- Joined:
Re: Editor Error after Stop Play
By the stacktrace you posted, it looks like the NoesisGUIPanel component is being destroyed after the global NoesisGUISystem object, so it is trying to access objects that were already destroyed. The crash on the standalone seems to be produced by the same situation.
Could you please create a ticket in our bugtracker and attach your project? Because we are unable to reproduce the problem here.
Thanks for your collaboration.
Could you please create a ticket in our bugtracker and attach your project? Because we are unable to reproduce the problem here.
Thanks for your collaboration.
-
sfernandez
Site Admin
- Posts: 3188
- Joined:
Re: Editor Error after Stop Play
Have this problem reproduced again?
Have you being able to solve it? How?
Have you being able to solve it? How?
Re: Editor Error after Stop Play
I don't know if this makes a difference I stopped the crashing on standalone version by just compiling it for x86 instead of x86_64. I still get the other errors on stopping of the editor. I will get you some files over so you can see what's going on sorry i've been busy.
-
sfernandez
Site Admin
- Posts: 3188
- Joined:
Re: Editor Error after Stop Play
I was able to make it crash in a x86_64 standalone. Thanks for the extra info
We will solve it as soon as posible.
We will solve it as soon as posible.
Who is online
Users browsing this forum: No registered users and 5 guests