I am trying to generate mesh using ArrayMesh or ImmediateMesh (I've try both). Mesh seams to be ok, because when I saved it as a resource - it is displayed properly, but when I am trying to use it dynamicly in game, nothing happens whatever I do.
Details are on stackoverflow: https://stackoverflow.com/questions/77351955/godot-procedural-mesh-generation
Godot version
Tested on 4.0, 4.1.2 and 4.2
System information
Windows 10, Intel iris plus
Issue description
I am trying to generate mesh using ArrayMesh or ImmediateMesh (I've try both). Mesh seams to be ok, because when I saved it as a resource - it is displayed properly, but when I am trying to use it dynamicly in game, nothing happens whatever I do. Details are on stackoverflow: https://stackoverflow.com/questions/77351955/godot-procedural-mesh-generation
Edit: It works in godot 3.5, so... probably bug
Steps to reproduce
Copy that code: https://stackoverflow.com/questions/77351955/godot-procedural-mesh-generation Create a simple scene setup with dir. light, camera and Chunk (assign a ChunkMesh to it).
Minimal reproduction project
Octree.zip