Comments (8)
resource type was unrecognized or something like that
Yep that's Godot's heisenbug in custom resource loaders
from godot_heightmap_plugin.
When I set data directory it seams like HTerrainData is not saved to disk...
This alone is not enough for it getting saved. You have to save the scene too after doing that, this is what triggers it. If no data.hterrain
file appears in your terrain folder after you save the scene, something wrong occurred (check the console for errors?).
Also try to unfocus and refocus Godot (or restart it) to make sure it imports the textures.
I tried doing the same basic steps as you, saved the scene, started it, and I got errors about textures not loading, but the terrain resource is present (data.hterrain
). Refocusing Godot makes it import the textures so starting again the scene works fine without errros. So I just can't reproduce your issue.
See #232
This is probably the longest-standing issue precisely because I could never reproduce any of it. It's quite rare (though some people got it very frequently, and then never again for unknown reasons). And while there were some clues showing Godot might have a heisenbug in its custom resource saving system, nobody was able to isolate it.
from godot_heightmap_plugin.
I have downloaded 1.7.3 dev and it seamed to fix it...
Also on 1.7.2 I did save scene after that and error I was getting was that resource type was unrecognized or something like that
from godot_heightmap_plugin.
I guess this is bug is category of it does not work and I don't know why, it works and I don't know why...
from godot_heightmap_plugin.
I just downloaded this today and all was working well, except the following. Every time I save and quit, the data directory is gone and the terrain is gone. All the textures are there but the terrain is gone. When I try and fix the dependency the folder is there but there is no data in it. As soon as I re-import my heightmap it is textured just the way I left it. The second thing is the texture importer window is way too big and I can't access all the buttons on the bottom. It moves left or right but I can't make it detach or any smaller.
from godot_heightmap_plugin.
Please refer to #232, this issue is a duplicate. I'm sorry it keeps happening randomly but sadly I haven't the faintest idea why it happens, and have never been able to reproduce it. Even recorded several videos showing it. Everytime I give yet another try, it just doesn't happen. I believe it's a bug in Godot somehow.
the data directory is gone
The directory is gone? Did it existed before? Because deleting the directory would be a first... there is no code in the plugin that deletes directories.
Is this problem consistently happening every time you try?
The second thing is the texture importer window is way too big
That bug has surfaced in Godot 4.2 and has been fixed in the main branch, you may download it from the repo instead of the asset library.
from godot_heightmap_plugin.
I have the same problem on 1.7.2 version. Terrain doesn't load when i start the game, but it's not every time.
Here is the error
from godot_heightmap_plugin.
That screenshot only shows the aftermath of the issue (assuming it occurred when you loaded the scene?). Almost everyone gets that. Something wrong occurs silently earlier, and it's very likely not something the plugin can control, because it relies on Godot's saving system (which should trigger saving of all resources the scene contains when you save it). But Godot litterally isn't saving the resource when it should. i.e this script is not even called.
I'm going to close this because that remains a duplicate of #232
I explained a lot of times now why this is still not fixed... it makes me very sad but I need help from someone who can reliably reproduce this at this point, in order to step through the plugin and in particular the engine's code to find out what is really happening (though I have no idea where to start when the issue is Godot not doing something). I just can't investigate that because, as explained, I can't reproduce this, never could.
from godot_heightmap_plugin.
Related Issues (20)
- Pixel art texture is blurred. HOT 1
- Heightmap_plugin doesn't render terrain in Godot 3.5.3.x HOT 2
- Intermittent `No loader found` error HOT 8
- hterrain_data.gd: Unknown heightmap format 12 HOT 3
- [3.x] Visible LOD switch due to physics interpolation HOT 4
- Any way to turn off LOD? HOT 1
- Feature proposal: Add a way to scale texture HOT 1
- godot 4.3.dev5 warning on project loading HOT 2
- godot 4.3.dev5 error on active HOT 2
- godot4.3.dev5 headless profile not good HOT 3
- Single line of pixels on top of detail texture HOT 3
- How to determine height at a specific location HOT 2
- How can I set smooth texture transitions using Classic4/Lite shader by code? HOT 2
- Terrain scene will not load HOT 5
- Collider and Terrain not always exactly the same height? HOT 4
- How can I change the texture scale on the terrain? HOT 4
- How to correctly credit you? HOT 1
- How can I add detail layer at runtime using GDScript? HOT 3
- Strange square and contour artifacts in imported terrain HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godot_heightmap_plugin.