Issue with room name not in assigned scenes (sample project)
Closed this issue · 13 comments
Hey there!
I'm starting out with a fresh clone of this repo and trying to run the sample project.
Immediately upon running the program I'm getting an assertion error here https://github.com/KoBeWi/Metroidvania-System/blob/master/addons/MetroidvaniaSystem/Scripts/MapData.gd#L488
The error is that my room name :cv55nv1c2sbiq
is not in assigned_scenes. The assigned_scenes dictionary is mostly human readable tscn filenames. there are a couple UIDs in that dict but none of them match the one that I have in the room_name variable.
Godot version 4.2. Windows 10.
I haven't made any changes other than cloning the repo and pressing run.
I encountered the same issue as you
I can't reproduce it. Just tried a fresh clone in Godot 4.2.2.
Maybe you have some old save file? Remove example_save_data.sav
from user data directory if it exists.
I have the same problem, with also with a fresh clone
I can't reproduce it. Just tried a fresh clone in Godot 4.2.2.
Maybe you have some old save file? Remove
example_save_data.sav
from user data directory if it exists.
I'm sorry im kind of dumb, where would i find this?
In the top editor menu: Project -> Open User Data Folder.
i've checked the whole folder, and it doesn't look like it exists in there. If it helps any, I have the same issue on both my pc and on my laptop
I don't know then. Are you using newest Godot stable with newest version of MetSys (available from GitHub)? If the scene is not found in assigned scenes, what scenes are registered?
Can you provide stack trace for the error call? Your room name does not exist in the map data, I don't know where it came from.
Ok this is the same issue as #8
Which is weird, because I fixed it 🤔 I'll look into it again. In the meantime you can try opening MapData.txt
and converting line endings manually (your code editor/IDE should have such option, if you have one).
alright, thanks