bryanedds / Nu

Repository hosting the open-source Nu Game Engine and related projects.
MIT License
1.1k stars 155 forks source link

Light bulb mesh issue on asset reload. #660

Closed bryanedds closed 9 months ago

bryanedds commented 9 months ago

image

bryanedds commented 9 months ago

Actually, this seems to appear only once we reload assets. Reloading assets also seems to make Maria's sword fail to render as well.

bryanedds commented 9 months ago

This was accidentally fixed in e9a255bd26f41c982b12868df66a0f7e1a350878 when I added the missing geometry.HeightBuffer delete call. I do not know how a missing buffer delete call could cause rendering corruption, so I'm not sure if this change was the fix or merely hid the symptom...