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

XR SDK

-

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)"

Comments (1)

  1. 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...

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.