Search Issue Tracker
Fixed in 2017.3.0f3
Votes
0
Found in
2018.1.0a6
Issue ID
974049
Regression
No
[Vuforia] NullReferenceException is thrown in console when changing Image Target's Type field
To reproduce:
1. Open project, found in owncloud https://oc.unity3d.com/index.php/s/0CQo6c7fvCZsb3Z
2. In Hierarchy window, select image target
3. In Inspector window, ImageTargetBehaviour component, keep changing Type field's values
4. Observe the console
Expected: nothing is printed out
Actual: NullReferenceException errors being thrown (check .gif attached)
Reproduced in: 2017.2.0p4, 2017.3.0f1, 2018.1.0a7
Note1: in some 2018 releases error appears: Vuforia.TrackableBehaviour.Status' does not contain a definition for `NO_POSE'
Note2: full error:
"NullReferenceException: Object reference not set to an instance of an object
Vuforia.EditorClasses.SerializedDataSetTrackable.set_AutoSetOccluderFromTargetSize (Boolean value)
Vuforia.EditorClasses.ImageTargetEditor.OnInspectorGUI ()
UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor[] editors, Int32 editorIndex, Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1299)
UnityEditor.PopupCallbackInfo:SetEnumValueDelegate(Object, String[], Int32)"
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
- Double separation lines are present in a kebab dropdown menu
- [URP] CommandBuffer: built-in render texture type 3 not found while executing warning is thrown when Game view is open and OpenGL is used
- User gets "Sorry...that page seems to be missing" when click a help icon
- Horizontal Scrollbar appears in the Inspector Window when the Volume Component is added
- Build Profiles - Feature Request: Editor restart button would improve the user experience
juvelezm
Aug 21, 2019 16:47
It could be pretty interesting for all of us that have the same kind of errors, to know how was solved this, please reply with the solution applied...