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

Crashing after built client splash screen

Discussion in 'Editor & General Support' started by Pale_Rider, Aug 16, 2015.

  1. Pale_Rider

    Pale_Rider

    Joined:
    Aug 14, 2015
    Posts:
    12
    After building the game in Unity 5 and running it, imediately after the "powered by unity 5" screen i always get this crash:

    "this application has requested the runtime to terminate it in an unusual way"

    What's going on and how do I fix it?
     
  2. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,999
  3. Pale_Rider

    Pale_Rider

    Joined:
    Aug 14, 2015
    Posts:
    12
    Here it is. Thanks for you help.
     

    Attached Files:

  4. Pale_Rider

    Pale_Rider

    Joined:
    Aug 14, 2015
    Posts:
    12
    Anything?
     
  5. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,999
    looks like all kind of errors there, try building empty scene from the same project, does that crash?

    Code (CSharp):
    1. The file '/Divergence Online_Data/mainData' is corrupted! Remove it and launch unity again!
    2. [Position out of bounds!]
    3.  
    4. A script behaviour has a different serialization layout when loading. (Read 116 bytes but expected 112 bytes)
    5. Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
    6.  
    7. The file '/Divergence Online_Data/resources.assets' is corrupted! Remove it and launch unity again!
    8. [Position out of bounds!]
    9.  
    10. Shader 'Arch_Design': fallback shader 'Diffuse' not found
    11. The referenced script on this Behaviour is missing!
    12.  
    13. The referenced script on this Behaviour is missing!
     
  6. Pale_Rider

    Pale_Rider

    Joined:
    Aug 14, 2015
    Posts:
    12
    Yes I removed everything, even all other scenes from the build menu and the same problem persists. This is turning out to be a huge problem that I'm sure has a simple solution but Unity is being useless and not giving any specific information so I'm looking for help here.
     
  7. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,999
    Does it crash with other project builds?

    And export files from the current project to completely new project and test build there.
     
  8. Pale_Rider

    Pale_Rider

    Joined:
    Aug 14, 2015
    Posts:
    12
    The project is huge, over 12gb, but the "export" it creates is just 14mb in size... It isn't including any models, textures, scenes, or anything in the export.
     
  9. mgear

    mgear

    Joined:
    Aug 3, 2010
    Posts:
    8,999
    Select everything from project window, Right click > Export package.. but this might take forever with 12gb..

    Or test with 1 scene, right click on it at project window, select dependencies, Export package, disable [ ] include dependencies, export
     
  10. Pale_Rider

    Pale_Rider

    Joined:
    Aug 14, 2015
    Posts:
    12
    I did that. Exported and imported just the loading scene that appears as soon as you run the game, which was incredibly small, and it did the exact same thing. It even gave this as the entire explanation in the output log:

    <RI> Initialized touch support.

    Crash!!!

    Is that some kind of @#$%ing joke Unity? You don't think it's necessary to give even the slightest info about what is causing this bug instead of just saying "Crash!!!" ?