WEKIT-ECS / MIRAGE-XR

MirageXR is a reference implementation of an XR training system. MirageXR enables experts and learners to share experience via XR and wearables using ghost tracks, realtime feedback, and anchored instruction.
Other
28 stars 5 forks source link

Character models: FollowMeToggle missing or gone #1854

Closed fwild closed 7 months ago

fwild commented 7 months ago

Character model throws an exception still:

MissingReferenceException: The object of type 'FollowMeToggle' 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.
CSE.MRTK.Toolkit.DebugConsole.MainController.WriteMessage (System.String message) (at Assets/CSE.MRTK.Toolkit/DebugConsole/Scripts/MainController.cs:120)
CSE.MRTK.Toolkit.DebugConsole.MainController.Application_logMessageReceived (System.String message, System.String stackTrace, UnityEngine.LogType type) (at Assets/CSE.MRTK.Toolkit/DebugConsole/Scripts/MainController.cs:110)
UnityEngine.Application.CallLogCallback (System.String logString, System.String stackTrace, UnityEngine.LogType type, System.Boolean invokedOnMainThread) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Application/Application.cs:173)
UnityEngine.Debug:Log(Object, Object)
i5.Toolkit.Core.VerboseLogging.AppLog:Log(String, LogLevel, Object) (at ./Library/PackageCache/com.i5.toolkit.core@1.9.2/Runtime/Verbose Logging/Scripts/AppLog.cs:222)
i5.Toolkit.Core.VerboseLogging.AppLog:LogInfo(String, Object) (at ./Library/PackageCache/com.i5.toolkit.core@1.9.2/Runtime/Verbose Logging/Scripts/AppLog.cs:146)
DialogueService:SetPrompt(String) (at Assets/MirageXR/Services/IBM-Watson/DialogueService.cs:377)
MirageXR.CharacterController:OnUpdatePrompt() (at Assets/MirageXR/ContentTypes/Character/Scripts/CharacterController.cs:488)
MirageXR.CharacterController:<OnEnable>b__83_6(String) (at Assets/MirageXR/ContentTypes/Character/Scripts/CharacterController.cs:235)
UnityEngine.Events.UnityEvent`1:Invoke(String)
TMPro.TMP_InputField:SendOnEndEdit() (at ./Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMP_InputField.cs:3149)
TMPro.TMP_InputField:ReleaseSelection() (at ./Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMP_InputField.cs:4146)
TMPro.TMP_InputField:DeactivateInputField(Boolean) (at ./Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMP_InputField.cs:4184)
TMPro.TMP_InputField:OnDisable() (at ./Library/PackageCache/com.unity.textmeshpro@3.0.6/Scripts/Runtime/TMP_InputField.cs:1093)
fwild commented 7 months ago

cannot reproduce anymore - resolved?