Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Game crashes when built!

Discussion in 'Editor & General Support' started by Cottage_Pi, May 31, 2015.

  1. Cottage_Pi

    Cottage_Pi

    Joined:
    Dec 21, 2014
    Posts:
    55
    Hi,

    When I build my game in 32bit and 64bit it crashes. However, if I load it inside Unity it doesn't crash.

    Could anyone please help me to track down the issue?

    Here is the output_log:

    Here is the error file contents:

     
  2. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,559
    Are you using any 3rd party plugins or native libraries? Maybe there's a mismatch between the plugin's architecture and the built version. ..
     
  3. Cottage_Pi

    Cottage_Pi

    Joined:
    Dec 21, 2014
    Posts:
    55
    I'm using a third party FPS plugin. However, I had this issue turn up recently.
     
  4. liortal

    liortal

    Joined:
    Oct 17, 2012
    Posts:
    3,559
    In the log you attached i can see a few DLLs that seem to be 3rd party:

    Platform assembly: D:\St.Kilda\32_build\stkilda_Data\Managed\ProBuilderCore.dll (this message is harmless)
    Platform assembly: D:\St.Kilda\32_build\stkilda_Data\Managed\FPSControlLib.dll (this message is harmless)
    Platform assembly: D:\St.Kilda\32_build\stkilda_Data\Managed\LitJson.dll (this message is harmless)
    Platform assembly: D:\St.Kilda\32_build\stkilda_Data\Managed\RAIN.dll (this message is harmless)
    Platform assembly: D:\St.Kilda\32_build\stkilda_Data\Managed\RAINMetaform.dll (this message is harmless)

    another direction - the top of the stack seems to be related to ShaderLab. Maybe there's some shader that is causing a crash.
     
  5. Dantus

    Dantus

    Joined:
    Oct 21, 2009
    Posts:
    5,667
    Did you see:
    and
     
  6. Cottage_Pi

    Cottage_Pi

    Joined:
    Dec 21, 2014
    Posts:
    55
    Hi Guys,

    Thanks for the suggestions. I fixed a few of the errors. Some to do with shaders and it seems to have fixed it. I have also updated the editor.

    Cheers