Issue 1: Mesh Rendering Problem with Large Numbers of Objects
When spawning objects randomly at desired locations (10-30 objects), everything works fine. However, when spawning 40 or more objects, the meshes don't render correctly. For example, a lemon that should be yellow appears white, indicating that its mesh isn't being applied properly.
Current Behavior
Spawning 10-30 objects works correctly
Spawning 40+ objects results in incorrect mesh rendering
Expected Behavior
All objects should render correctly regardless of the number spawned
Question
Is there a way to resolve this issue and ensure proper mesh rendering when spawning larger numbers of objects?
Issue 1: Mesh Rendering Problem with Large Numbers of Objects
When spawning objects randomly at desired locations (10-30 objects), everything works fine. However, when spawning 40 or more objects, the meshes don't render correctly. For example, a lemon that should be yellow appears white, indicating that its mesh isn't being applied properly. Current Behavior
Expected Behavior
Question
Is there a way to resolve this issue and ensure proper mesh rendering when spawning larger numbers of objects?