You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then when we try to assign a render asset, it first looks into model, which exists, but has no mesh instances and as a result fails to create a collision mesh:
The engine fails to create the collision mesh, when component's property accessors are used. This works:
This doesn't:
Repro:
https://playcanvas.com/project/1218921/overview/collision-mesh-issue
The issue is because base collision system implementation creates an empty model before initialization:
engine/src/framework/components/collision/system.js
Lines 49 to 54 in e0277bd
Then when we try to assign a render asset, it first looks into model, which exists, but has no mesh instances and as a result fails to create a collision mesh:
engine/src/framework/components/collision/system.js
Lines 450 to 466 in e0277bd
The text was updated successfully, but these errors were encountered: