BenPyton/ProceduralDungeon

Error message when creating new rooms

Destrox12 opened this issue · 1 comments

Hi, when i try to create new rooms following all the steps in the guide i get this error message: LogProceduralDungeon: Error: RoomLevel's Data does not match RoomData's Level [Data "NewDataAsset" | Level "RoomA_Level1_C_1"]. How can i fix this?

Hi @Destrox12

This error says exactly what to do to fix it:

Make sure that you properly set the Level in your RoomData and the Data in your RoomLevel, so they points to each other.
This implicitly forces you to create only one Data per Level and vice versa.

I've added this error message to avoid a lot of weird silent bugs where some spawned levels are not what the devs expected, resulting in strange behaviors of the procedural generation (see #13 or #10)

Best regards.