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
- Unity Cloud icon does not appear next to project and does not connect correctly when the project is created with Cloud but closed right after creation
- ScrollerSlider in the Scroller Control is still using UXMLTraits
- Crash on ExtractHandles when shutting down the Editor in a specific scene while Burst jobs are in progress
- Unity Hub closes with no "Project is currently open" window when selecting an already open project from the Projects list
- The Hub freezes indefinitely when copy/pasting a lot of characters in the “Set project display name” Hub window since it has no character limit
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a16