Unity Issue Tracker - Improve error message for: SkinnedMeshRenderer: Mesh has been changed to one which is not compatible with the expected mesh data size and vertex stride. Aborting rendering.
Fixed
UUM-13268
Improve error message for: SkinnedMeshRenderer: Mesh has been changed to one which is not compatible with the expected mesh data size and vertex stride. Aborting rendering.
Unity: Mesh
Fixed
2023.1.X
2022.2.X
2021.3.X
2020.3.X
Confirmed improvement in 2023.1.0a26 - now the object that caused the error can be located by double-clicking the error message in the console tab (this will ping the object in the hierarchy tab, showing where the error came from).
Confirmed in 2022.2.6f1
When the error occurs, the user can now double-click the error in the console to ping the object in hierarchy which has the SkinnedMeshRenderer component which caused the error.
Confirmed fixed in 2021.3.19f1
When the error occurs, the user can now double-click the error in the console to ping the object in hierarchy which has the SkinnedMeshRenderer component which caused the error.
Confirmed in 2020.3.45f1
When the error occurs, the user can now double-click the error in the console to ping the object in hierarchy which has the SkinnedMeshRenderer component which caused the error.
Steps
open Assets/Repro/SetTangent.unity
enable gizmos in scene view or game view
check console for errors
error message : SkinnedMeshRenderer: Mesh has been changed to one which is not compatible with the expected mesh data size and vertex stride. Aborting rendering.
Expected: Mesh and gameobject name is shown in console
Actual: No indication exactly what asset / object caused the error
Repro (error is missing info): 2022.2.0a15
no repro (no error): 2023.1.0a4
NOTES:
seems either root cause of error is fixed in latest, or a regression happened causing the error to no longer appear in 2023.1
Prioritise and Follow this issue
Have a workaround or additional info about this issue?