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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a16