I’ve updated project from 3.0.9. Not I get error when I open prefab with probuilderized model.
Here how it looks/
It doesn’t happen with all models, but it does happen with most models.
- Drag model into a scene.
- Probuilderized it.
- Created original prefab from probuilderized model.
- Open this prefab in prefab edit mode.
- Get this error.
IndexOutOfRangeException: Index was outside the bounds of the array.
UnityEngine.ProBuilder.Normals.CalculateNormals (UnityEngine.ProBuilder.ProBuilderMesh mesh) (at Library/PackageCache/com.unity.probuilder@4.0.3/Runtime/Core/Normals.cs:194)
UnityEngine.ProBuilder.ProBuilderMesh.RefreshNormals () (at Library/PackageCache/com.unity.probuilder@4.0.3/Runtime/Core/ProBuilderMeshFunction.cs:483)
UnityEngine.ProBuilder.ProBuilderMesh.Refresh (UnityEngine.ProBuilder.RefreshMask mask) (at Library/PackageCache/com.unity.probuilder@4.0.3/Runtime/Core/ProBuilderMeshFunction.cs:316)
UnityEngine.ProBuilder.ProBuilderMesh.Rebuild () (at Library/PackageCache/com.unity.probuilder@4.0.3/Runtime/Core/ProBuilderMeshFunction.cs:200)
UnityEngine.ProBuilder.ProBuilderMesh.Awake () (at Library/PackageCache/com.unity.probuilder@4.0.3/Runtime/Core/ProBuilderMeshFunction.cs:51)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler()
For now I’ll get back to 3.0.9. So I won’t be able to assist with the issue. I’ve attached model from the video.
4165885–367801–Bench.zip (48.4 KB)