Failed to create Physics Mesh from source mesh "GlassSideA".

Hi,

I was trying to build the Soccer environment, however I am getting the following errors:

Failed to create Physics Mesh from source mesh “GlassSideA”.

Failed to create Physics Mesh from source mesh "GlassSideA". One of the triangles is too large. It's recommended to tesselate the large triangles.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Failed to create Physics Mesh from source mesh "GlassSideB". One of the triangles is too large. It's recommended to tesselate the large triangles.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Failed to create Physics Mesh from source mesh "WallSideA". One of the triangles is too large. It's recommended to tesselate the large triangles.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Failed to create Physics Mesh from source mesh "WallSideB". One of the triangles is too large. It's recommended to tesselate the large triangles.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

How can I fix them? Unity version: 2019.4.17f1
Regards,
RUn

I’ll bounce this off the team for some guidance. Which version of Python are you using?

Python 3.8

Hey run, i’ve seen this same issue with some of the other environments. When i looked into it I found it was a physics/editor bug. The fix was to use primitive colliders instead of mesh colliders. I have made a branch with a fix for this but it’s not in master yet. If you want to fix your branch, just remove the mesh colliders from the objects listed in your errors and use box colliders that are the same approximate shape as the mesh collider.

2 Likes

Hi Hunterh,

Which branch did you push this change?

Regards,
RUn

unity 2021.3.0f1 just disable Player/other settings/prebake collision Meshes*

after hours its solved my problem.

3 Likes

This just happened to me on a Unity 2019.4.34f1 project.

Very odd because the item in question has been working for months with no issues about the mesh collider.