[resolved!] [LD34] My game doesn't work, help!

edited in Online Competitions & Jams
Edit: the issue's been resolved, thanks for all that's helped :D :D :D

I found the problem and it's SUPER OBSCURE:
http://answers.unity3d.com/questions/950569/game-runs-in-editor-crashes-on-startup-after-build.html
the game would crash when it tried to load a scene with any UI objects that had any component with a material set to none. Changing all the UI elements to have any actual material prevented crashes (but also screwed up the looks of the UI).

The fix was to go into Edit > Project Settings > Graphics and under "Always Included Shaders" make sure that it contained UI/Default and UI/Default Font. Mine didn't have either of those, but when I added them all the crashing problems went away and the built game ran flawlessly.
I can't believe noone ran into this yet.

---------------------------- original -----------------------------

No, the game isn't esoterically called that... I'm having a massive issue :(

All builds fail right after the splash screen. To all platforms. I've tried everything. I'm so desperate I'm asking for help from anywhere :(

I’ve tried development build, I’ve tried rebooting, I’ve tried all the abovementioned builds. Everything crashes.

I’ve no idea how to find anything on this because there’s no error. Please can anyone assist? :(

Error dump from OSX build:
http://forum.unity3d.com/threads/build-to-all-platforms-crash-just-after-splash-screen.373778/

Error logs from Windows version:
http://www.twoplusgames.com/share/ld34/error_logs.zip

Source file (link fixed, sorry! It wasn’t working 4 hours ago when I went to sleep because I couldn’t type a sentence without losing my train of thought):
http://www.twoplusgames.com/share/ld34/Boost_Source.zip

Game page:
http://ludumdare.com/compo/ludum-dare-34/?action=preview&uid=35114

Cry for help on LD:
http://ludumdare.com/compo/2015/12/14/unity-pros-please-help/

The game looks like this... Please help me to get it running on anything other than my Unity Editor :(
image

Comments

  • edited
    OK, thanks to @tbulford for the advice of calming the fuck down and looking at it methodically.

    I found the problem and it's SUPER OBSCURE:
    http://answers.unity3d.com/questions/950569/game-runs-in-editor-crashes-on-startup-after-build.html
    the game would crash when it tried to load a scene with any UI objects that had any component with a material set to none. Changing all the UI elements to have any actual material prevented crashes (but also screwed up the looks of the UI).

    The fix was to go into Edit > Project Settings > Graphics and under "Always Included Shaders" make sure that it contained UI/Default and UI/Default Font. Mine didn't have either of those, but when I added them all the crashing problems went away and the built game ran flawlessly.
    I can't believe noone ran into this yet.
  • Arg, I've run into something similar with lighmapping. Was hard to track down.
  • edited
    EDIT: Just saw you found the problem - ignore my post. :)

    - - - 8< - - -

    Doing a stack trace I get:

    open("/home/jaco/BACKUPS/tu/Booster/BuildLin/linrun_Data/Managed/System.dll.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
    open("/home/jaco/BACKUPS/tu/Booster/BuildLin/linrun_Data/Managed/System.dll.so.la", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)

    And googled for "unity3d System.dll not found"

    http://answers.unity3d.com/questions/439376/dllnotfoundexception-multiple-c-and-c-dlls.html

    Not saying that's your problem/solution, but it might be a place to start digging.
  • edited
    Edit. Never mind. Didn't read till the end :/
  • farsicon said:
    Edit. Never mind. Didn't read till the end :/
    Oops, so sorry, edited the original post to reflect the status :)
Sign In or Register to comment.