Open Sythelux opened 2 years ago
I have progress on this topic. I make it together with this pull request here: https://github.com/sboron/terrain-tool-godot4/pull/16
It isn't supposed to load the same one 3 times and they are also not supposed to have different height offsets, but I'll get that working as well.
Should be fixed with Godot-4.1, but needs verification
Describe the bug When I add my Terrain3D and try to load a map and set the patch size x or y to be above 1 the whole editor crashes after a while. The same thing happens, when I try to load a terrain from mapbox
I tried to troubleshoot it with removing and readding code and can't seem to get it to stop. I suppose it has something to do with multiple Patches using the same Material and accessing the same material ID?
It could also be currently buggy, that we hand down the image by ref. I really have no idea. This stuff is pretty much to high for my knowledge level.
To Reproduce Steps to reproduce the behavior:
Expected behavior The Editor continues to run and renders the chunks
Desktop (please complete the following information):
Additional context I have the a stack trace here, but it isn't really helpful.