Search Issue Tracker

Won't Fix

Votes

1

Found in

2022.3.10f1

2023.1.14f1

2023.2.0b11

2023.3.0a6

6000.0.0b11

Issue ID

UUM-49803

Regression

No

Crash at "UnityEngine.Object:FindObjectsOfType" when quitting the Player

-

How to reproduce:
1. Open the user's attached project
2. Build And Run the project
3. Click the "Quit" button in the Player

Reproducible with: 2022.3.10f1, 2023.1.14f1, 2023.2.0b11, 2023.3.0a6
Could not test with: 2021.3.30f1 (compilation errors)

Reproducible on: Windows 11 22H2
Not reproducible on: No other environment tested

First lines of stack trace:
0x000002ACB3259C25 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.Object:FindObjectsOfType (System.Type,bool)
0x000002ACB3259B0B (Mono JIT Code) UnityEngine.Object:FindObjectOfType (System.Type,bool)
0x000002ACB3259A8B (Mono JIT Code) UnityEngine.Object:FindObjectOfType<T_REF> ()
0x000002ACB3259A23 (Mono JIT Code) UnityEngine.ResourceManagement.Util.ComponentSingleton1<T_REF>:FindInstance () 0x000002ACB325993B (Mono JIT Code) UnityEngine.ResourceManagement.Util.ComponentSingleton1<T_REF>:get_Instance ()
0x000002ACB326057B (Mono JIT Code) UnityEngine.AddressableAssets.Utility.ResourceManagerDiagnostics:OnResourceManagerDiagnosticEvent (UnityEngine.ResourceManagement.ResourceManager/DiagnosticEventContext)
0x000002ACB325F88D (Mono JIT Code) UnityEngine.ResourceManagement.ResourceManager:PostDiagnosticEvent (UnityEngine.ResourceManagement.ResourceManager/DiagnosticEventContext)

  1. Resolution Note:

    Due to the size of the project to reproduce the bug we are not able to investigate and find a fix, multiple different devs and QA tried to strip down to a more approapriate size without any luck. If you still experience such bug and have a smaller way to reproduce please open a different bug ticket

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.