Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2019.4
2020.3
2020.3.29f1
2021.2
2022.1
2022.2
Issue ID
1405597
Regression
No
Crash when having a PSB prefab in the scene and pressing "Take Sample" in the Profiler
Reproduction steps:
1. Open the user's attached project
2. Add "Assets/PSB/TestPSB" prefab to the scene
3. Open the Profiler
4. Enter Play Mode
5. Select the "Memory" section from the Profiler
6. Select the "Detailed" option in the Profiler
7. Press "Take Sample"
Expected result: A sample is taken
Actual result: Editor crashes
Reproducible with: 2019.4.36f1, 2020.3.30f1, 2021.2.14f1, 2022.1.0b10, 2022.2.0a7
Note:
- in the newer streams the Editor crashes after stopping Play Mode
First lines of stacktrace:
0x00007ff769a87982 (Unity) StreamedBinaryRead::TransferSTLStyleArray<ArrayOfManagedObjectsTransferer>
0x00007ff769a9f628 (Unity) Transfer_ManagedObject<StreamedBinaryRead,1>
0x00007ff769a79860 (Unity) TransferField_LinearCollection<SafeBinaryRead>
0x00007ff7699f7aa6 (Unity) ExecuteSerializationCommands<ConfigSettingsRead>
0x00007ff769a87b00 (Unity) StreamedBinaryRead::TransferSTLStyleArray<ArrayOfManagedObjectsTransferer>
0x00007ff769a9f628 (Unity) Transfer_ManagedObject<StreamedBinaryRead,1>
0x00007fff53b4d3fd (mono-2.0-bdwgc) [class.c:3530] mono_class_is_subclass_of_internal
0x00007fff53c484f3 (mono-2.0-bdwgc) [external-only.c:333] mono_class_is_subclass_of
0x00007ff77c38d3a0 (Unity) scripting_class_is_subclass_of
0x00007ff77c36dffb (Unity) Scripting::FindObjectsOfType
0x00007ff77c2966d5 (Unity) Resources_Bindings::FindObjectsOfTypeAll
0x00007ff77b5622e1 (Unity) ResourcesAPIInternal_CUSTOM_FindObjectsOfTypeAll
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
- Building the Player takes 25-50% more time in Unity 6 compared to 2022.3 when the IL2CPP scripting backend is selected
- Rigged GameObject doesn’t return to its idle state when disabling "Preview" and the GameObject has nested rigged GameObjects
- Error "ArgumentException: Trying to use an invalid resource" when creating custom post-processing effect in URP
- [DX12] GameObjects using CommandBuffer DrawProcedural and DispatchCompute calls have color flicker when changing color and moving mouse cursor
- The Player becomes unresponsive after resolution switch in Exclusive Fullscreen mode when using DX12 Graphics API
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a16