Question by
Papouc · Aug 25, 2018 at 10:41 AM ·
c#nullreferenceexception
NullReferenceException after loading a new scene ?
Hello, i know that there is many of questions on NullReferenceException, but mine problem with this error is a bit strange. Mine code works normally at the first scene but when i load a second one iam getting this error [NullReferenceException: Object reference not set to an instance of an object HeroEditor.Common.CharacterEditorBase.A (UnityEngine.UI.Dropdown[] except)], also my inspector still shows that variable isnt null.
Here is my code:
Does someone know how to solve this error? Thanks.
122851-unityscreen.png
(75.0 kB)
122852-visualstudioscreen.png
(7.7 kB)
Comment