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
Reproducible in: Android builds (debug and release, release only tested on 4.2.stable), Android Godot Editor (only tested on 4.1.3.stable)
Not reproducible in: Linux, Windows
System information
Android 12, arm64 and Android 8.1, arm32 - Mobile and Compatibility Renderers
Issue description
ArrayMesh.surface_get_arrays and PrimitiveMesh.get_mesh_arrays return incorrect data.
When recreating the surface from the obtained data every frame, it looks like this:
The sphere is a PrimitiveMesh, the cube is a cube exported from Blender
android-build.mp4
It should look like this (running on Linux):
Displaying the obtained data from the original mesh of the cube and from the newly created one shows this (changes every time surface_get_arrays is called):
Thanks for the report. This is fixed in current master by #84852, see the other linked issue reports in the PR. The fix should be in the next 4.2.x release. Closing as duplicate / completed.
Tested versions
System information
Android 12, arm64 and Android 8.1, arm32 - Mobile and Compatibility Renderers
Issue description
ArrayMesh.surface_get_arrays
andPrimitiveMesh.get_mesh_arrays
return incorrect data.When recreating the surface from the obtained data every frame, it looks like this:
android-build.mp4
It should look like this (running on Linux):
Displaying the obtained data from the original mesh of the cube and from the newly created one shows this (changes every time
surface_get_arrays
is called):This is the correct data it should display:
Both the original mesh and the newly created are wrong, the newly created contains even more errors.
Creating meshes from good data works fine, only retrieving data from meshes is broken.
Steps to reproduce
Check out
mesh_test.gd
from the minimal reproduction project.Minimal reproduction project (MRP)
godot-mesh-test.zip
The text was updated successfully, but these errors were encountered: