Hi, I’m testing Cocos Creator and hit a problem with any built-in 3D object (Cube, Sphere, Plane, etc.).
- Version: 3.8.6
- OS: Windows 10
- Pipeline: I am using Legacy (builtin-forward.rpp). If I leave “Render Pipeline (new)” selected, I get other errors, so I switched to Legacy!
- Steps to reproduce:
- Create a new empty project.
- Add a 3D Object → Cube (or any other primitive).
- Preview the scene in browser.
- Result: Preview fails and I see errors like:
the native asset of <uuid>@xxxx is missing!
RangeError: Invalid typed array length: ...
MeshRenderer._updateModelParams ...
This happens for every 3D primitive I try to add. I did not import any external models!
- What I tried:
- Deleted
temp/
,library/
, andlocal/
folders to force re-import. - Developer → Refresh All Effect.
- Reinstalled Cocos Creator.
Still the same issue.
- Deleted
Question:
Why are the built-in 3D primitives failing to load their mesh data? Is this a known issue in? Is there a way to regenerate or repair the missing native assets?
Btw, the 3D models will be rendered in “Preview in Simulator” but not in “Preview in Browser”
Thanks!