Debugging Wall Splits
![](https://i0.wp.com/gamedev.sinwyrm.com/wp-content/uploads/2020/06/panic_button_press.gif?resize=117%2C86&ssl=1)
#PanicRoom Day 092
#100DaysOfGameDev R2D57
#100DaysOfCode R2D57
![](https://i0.wp.com/gamedev.sinwyrm.com/wp-content/uploads/2020/09/2020-09-08_notepad_changelog.png?resize=375%2C132&ssl=1)
I have mainly been working on refining the code that produces extra room splits when needed. While this has been largely sucessful, I have run into an issue that I don’t want to skip past and am bent on fixing it before I move on.
![](https://i0.wp.com/gamedev.sinwyrm.com/wp-content/uploads/2020/09/2020-09-08_Unity_doesnt_work_on_this_side.png?resize=559%2C302&ssl=1)
I spent a large amount of time debugging the BuildRooms() method and setting myself up to see exactly what is going on with the code. What’s strange is that all the data I am getting back is showing up in the correct places, and with the correct values, but I’m just not seeing a wall getting created on-screen when my code clearly says a wall should be generated. Weird.
![](https://i0.wp.com/gamedev.sinwyrm.com/wp-content/uploads/2020/09/2020-09-08_Unity_works_on_this_side.png?resize=529%2C285&ssl=1)
Troubleshooting will just have to continue until I figure it out and there won’t be much to show off until then. The good part, however, will be that once I do solve the issue then I can advance to setting my Ab divides and then my Aa and Ab divides for horizontal Primary Hallways builds. This will then give me complete Block A room creation and I can move from there to Blocks B and C, which should go a lot quicker having conquered Block A.