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
- [Android] Text input field doesn't disappear when pressing "Enter" on the keyboard connected to a device and HideMobileInput is disabled
- WebGL Player flickers and logs warnings when viewport is resized and "Linear" Color Space is used
- Rigidbody recalculates its center of mass when moving its child Trigger Collider
- Sprites with different indexes than indicated in Text field of Label Inspector are being rendered
- VFX rendering a sphere when using a custom mesh
Resolution Note (fix version 2022.2):
Fixed in: 2022.2.0a16