Search Issue Tracker
Fixed
Votes
1
Found in
5.0.0p3
Issue ID
684978
Regression
No
MissingReferenceException from the inspector with custom AssetPostprocessor
To reproduce:
1) open the project
2) click on CT_Part1_01_Fountains in the project tab
3) make sure the inspector tab shows the info for that asset and is visible
(if the tab is not visible in the layout this bug does not happen)
4) right click on CT_Part1_01_Fountains and select "reimport"
5) after the reimport click anywhere on the inspector tab (on the left of
the "revert" button of the model importer settings for example)
6) notice the errors:
MissingReferenceException: The object of type 'TestObject' has been destroyed but you are still trying to access it.
Your script should either check if it is null or you should not destroy the object.
UnityEditor.Editor.IsEnabled () (at C:/buildslave/unity/build/Editor/Mono/Inspector/Editor.cs:554)
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean forceDirty, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect, Boolean eyeDropperDirty) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1082)
UnityEditor.InspectorWindow.DrawEditors (UnityEditor.Editor[] editors) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:969)
UnityEditor.InspectorWindow.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:350)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- The tag adder functionality does not work if a space is entered instead of a name
- Errors thrown in the Console when configuring In-App Purchases package
- Longer Scaler Profile names go out of the"Scaler Profilers" section
- AI Navigation window UI elements overlap when the AI Navigation window is docked and resized
- Editor freezes after some time when using NavMeshQuery::Raycast
meave2323
Mar 17, 2020 10:16
There are the very nice post here read the amazing update forever to visit here http://alarmsinwindows10.com and looking the update of set the alarm windows clock for seen the all notification forever manage the working way to access the site.