handzlikchris / handzlikchris/FastScriptReload
[BUG] UnityMainThreadDispatcher destroyed
- Dominant language
- C#
- Stars
- 2.2k
- Forks
- 167
- PR merge metrics
- No merged PRs in 30d
Description
I just hit this exception.
```
MissingReferenceException: The object of type 'UnityMainThreadDispatcher' 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.
UnityEngine.MonoBehaviour.StartCoroutine (System.Collections.IEnumerator routine) (at :0)
ImmersiveVRTools.Runtime.Common.UnityMainThreadDispatcher+<>c__DisplayClass2_0.b__0 () (at :0)
ImmersiveVRTools.Runtime.Common.UnityMainThreadDispatcher.Update () (at :0)
```
I had left Unity open in the background for a few hours, and this exception happened after the first change when I returned. Editor reloading is enabled, and I was not in play mode. Unfortunately I don't have any other information about the circumstances that triggered it.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.