OndrejNepozitek / Edgar-Unity

Unity Procedural Level Generator
https://ondrejnepozitek.github.io/Edgar-Unity/docs/introduction
MIT License
817 stars 70 forks source link

Dungeon generation problem #80

Closed Ori9883 closed 3 years ago

Ori9883 commented 3 years ago

when I click Generate level button,a errer occurs. MissingReferenceException: The variable IndividualRoomTemplates of Room doesn't exist anymore. You probably need to reassign the IndividualRoomTemplates variable of the 'Room' script in the inspector. I would like to ask if I have done any wrong steps

Ori9883 commented 3 years ago

It doesn't seem to be able to read the room that I prefabricated in advance

OndrejNepozitek commented 3 years ago

Hey! It seems like you added room templates to some rooms in your level graph and perhaps deleted them later so the reference is now incorrect? Please go through individual rooms in your level graph and check that if you are using custom room templates for that room, that all the room templates are correctly assigned and there are no missing references.