Search Issue Tracker

Fixed

Fixed in 2022.2.0b8, 2023.1.0a5

Votes

0

Found in

2022.2.0b2

Issue ID

UUM-7712

Regression

No

App crashes on launch when mesh of object has Read/Write disabled

--

-

Reproduction steps:
1. Open the attached project "MeshColliderTest.zip"
2. Build and Run on Standalone or Android

Expected result: The app runs without crashing
Actual result: The app crashes with errors:
at libunity.RecalculateSharedMeshDataSubmeshBounds(SharedMeshData&, unsigned int, Mesh*)(RecalculateSharedMeshDataSubmeshBounds:588)
at libunity.Mesh::RecalculateBounds(MeshUpdateFlags)(RecalculateBounds:1048)
at libunity.Mesh_Set_Custom_PropSubMeshCount(ScriptingBackendNativeObjectPtrOpaque*, int)(Mesh_Set_Custom_PropSubMeshCount:132)

Reproducible with: 2019.4.34f1, 2020.3.26f1, 2021.2.8f1, 2022.1.0b4, 2022.2.0a3

Notes:
- Can be reproduced on Standalone and Android builds
- Could not test with iOS, Xcode can't build this project
- Issue can't be reproduced when enabling Mesh Read/Write on objects in Assets/3D Models

  1. Resolution Note (fix version 2022.2.0b8):

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.