I’m getting this error repeatedly in my top down 2d RPG project. What does this mean? 525 kb doesn’t sound large… I have this as a .tres, because it’s a 2d atlas with textures.
The text-based scene at path "res://scenes/Town1/island_test.tscn" is large on disk (525.6 KiB), likely because it has embedded binary data.
This slows down scene saving and loading.
Consider saving its binary subresource(s) to a binary `.res` file or saving the scene as a binary `.scn` file.
This warning can be disabled in the Editor Settings (FileSystem > On Save > Warn on Saving Large Text Resources).
I think this is a warning when you have an integrated ressource.
In your case i don’t think ths is a problem (525kb is not large to load for now).
You can make it disapear in the project settings in Debug/GDscript if you want.
What does this part mean? ‘integrated resource’? I googled the error, and initially Google AI summary (which I don’t trust, mind you) said to:
Convert the Scene: Open res://scenes/Town1/island_test.tscn in the editor. Go to Scene > Save Scene As… and change the file extension to .scn (the binary version of a .tscn). This removes the overhead of text-parsing the embedded binary data.
However, I’m not sure what this means, logically. The difference between a .tscn and a .tscn.
Scenes are composed of nodes and resources, the resources can reside elsewhere on disk or be “integrated” where the resource is packed into the same scene file. If you are using a TileMapLayer it may have a large integrated tileset resource, you can right click these resources and choose “Save As…” and as the warning suggests make sure to save it as a .resresource file as opposed to a .trestext resource file. A larger issue would be if an image found it’s way integrated into the scene, image data is quite large and you would be making bloated copies of your files, this can happen if you accidentally used “Make Unique” on a large resource, in those cases try to right click and select “Load” or “Quick Load” to replace the unique-integrated resource with your normal on-disk resource.
Usually scenes are quite small, keeping them as .tscntext scene files is fine, and helps if you do ever need to edit it outside of the editor (in dire situations). All of these files are packed into binary formats when exporting so the speed benefit or loss is only while editing your game.