KoBeWi / Metroidvania-System

General-purpose framework for creating metroidvania games in Godot.
https://godotengine.org/asset-library/asset/2301
MIT License
1.06k stars 51 forks source link

Error when starting template game #39

Closed JouBqa closed 7 months ago

JouBqa commented 8 months ago

I get this error: Attempt to call function 'instantiate' in base 'null instance' on a null instance.

E 0:00:00:0841 MetSysGame.gd:40 @ load_room(): Resource file not found: res://SampleProject/Maps (expected type: ) <C++ Error> Condition "!file_check->file_exists(p_path)" is true. Returning: Ref() <C++ Source> core/io/resource_loader.cpp:279 @ _load()

MetSysGame.gd:40 @ load_room() Game.gd:52 @ _ready() The map files are in my projects folder in \Metroidvania-System-master\SampleProject\Maps ![image](https://github.com/KoBeWi/Metroidvania-System/assets/78951590/46c9e34c-40c8-4c77-b3f5-f79aaac3b3ed)
KoBeWi commented 8 months ago

Same as #38

I fixed the cause, but save files from the broken version need to be manually deleted.

JouBqa commented 8 months ago

I deleted the project and downloaded the zip and got the same error. I think I already had the zip. Is there somewhere else I need to delete save files than the project folder?

KoBeWi commented 8 months ago

Saves are located in user directory, you can access it here: image

KoBeWi commented 7 months ago

Fixed by ac0f2b40620a2c15b5e3ec60520456fdc1e7999f