silverua / slay-the-spire-map-in-unity

Implementation of the Slay the Spire Map in Unity3d
MIT License
288 stars 68 forks source link

The map is missing after building the project #9

Open tanliyoung opened 4 years ago

tanliyoung commented 4 years ago

Hi mate, I love your work here. I exported the project as a package and reimported into a empty project. Now I can see the map in the unity editor mode. level_select_in_editor_1 However, when I build the project and run the exe. The map is missing! LevelSelection0706_xJaiHpM9Ik

Not sure if I am missing something here. Could you please give me a hand?

silverua commented 4 years ago

Seems like some exception happens in the process of spawning the map and does not let it continue. I would check out the Player.log file of the build after running the build. It is usually in C:\Users\YourUsername\AppData\LocalLow\YourCompanyName\YourGameName\ It may contain some error logs that'll help diagnose this issue.

Other assumptions: check that the camera in the scene has a tag "MainCamera", check if any of the references are missing on the MapObjects prefab in the scene.

If you can share the project somehow (give access to the repo or Zip the project folder and upload to Drive or Dropbox), I'll try this as well and try to help you find the error.