BenPyton / ProceduralDungeon

This is an Unreal Engine 4/5 plugin to generate procedural dungeon.
MIT License
527 stars 64 forks source link

Error message when creating new rooms #30

Closed Destrox12 closed 1 year ago

Destrox12 commented 1 year ago

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?

BenPyton commented 1 year ago

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.