roice3 / MagicTile

Non-euclidean Rubik's Cube Analogues
http://www.gravitation3d.com/magictile
MIT License
87 stars 12 forks source link

Cannot run in debug env #20

Closed nanma80 closed 7 years ago

nanma80 commented 7 years ago

When I execute it in debug env, I see an error message upon start: Assertion failed in this line: https://github.com/roice3/MagicTile/blob/master/MagicTile/Utils/MenuBuilder.cs#L333

I can run it in Release because this assertion doesn't fail the application there.

roice3 commented 7 years ago

Fixed with commit d20f8c4.

I've moved away from assigning puzzle IDs manually, for situations like this (a copy-paste issue in the {5,4} 32C puzzle). This assert may be overly restrictive, and maybe just needs to be removed.