Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Crash almost every time when entering playmode

Discussion in '5.2 Beta' started by makeshiftwings, Jul 25, 2015.

  1. makeshiftwings

    makeshiftwings

    Joined:
    May 28, 2011
    Posts:
    3,350
    I just updated to Beta 4, and my project crashes almost every time I enter play mode, even in a new scene with nothing but a camera and light. The editor.log in the crash report just shows an access violation at address 0xfffffffff. Is there any way I can get more info on what might be causing the crash? New projects don't seem to have this problem, so it must be something in my project causing it.
     
  2. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,756
    Any chance you can show us the stacktrace?
     
  3. ImpossibleRobert

    ImpossibleRobert

    Joined:
    Oct 10, 2013
    Posts:
    565
    Same for me. I get constant crashes that I did not get with b3. I switched back to b3 now as b4 is unfortunately unusable in this state. I sent several bug reports so that you can follow up! I think I have 4 independent crashes reported now (3 in b3, all still there in b4 + this new one now) that all happen under different but reproducible circumstances which are all blockers for me.

    I can give you access to my project (20gb Git) which should allow you to reproduce every single bug.

    Bugs: 715050, 715048, 715005, 714983, 713630, 713395, 713310 (these are the crash bugs only ;-) I got major other ones reported as well that are also easy to reproduce)
     
  4. makeshiftwings

    makeshiftwings

    Joined:
    May 28, 2011
    Posts:
    3,350
    Code (csharp):
    1.  
    2. >    Unity.exe!UnityScene::RemoveVisibleRoot(class std::_List_iterator<class std::_List_val<class Transform *,class std::allocator<class Transform *> > >,bool)    Unknown
    3.     Unity.exe!Transform::MainThreadCleanup(void)    Unknown
    4.     Unity.exe!delete_object_internal_step1(class Object *)    Unknown
    5.     Unity.exe!CommitBatchDelete(struct BatchDelete &)    Unknown
    6.     Unity.exe!DestroyGameObjectHierarchy(class Unity::GameObject &)    Unknown
    7.     Unity.exe!DestroyObjectHighLevel(class Object *,bool)    Unknown
    8.     Unity.exe!DestroyWorldObjects(struct dynamic_array<int,4> const &)    Unknown
    9.     Unity.exe!Application::LoadSceneInternal(class std::basic_string<char,struct std::char_traits<char>,class stl_allocator<char,59,16> > const &,enum TransferInstructionFlags,class std::map<__int64,int,struct std::less<__int64>,class std::allocator<struct std::pair<__int64 const ,int> > > *)    Unknown
    10.     Unity.exe!Application::EnterPlayMode(bool)    Unknown
    11.     Unity.exe!Application::SetIsPlaying(bool)    Unknown
    12.     Unity.exe!Application::TickTimer(void)    Unknown
    13.     Unity.exe!RelaunchUnity(class std::vector<class std::basic_string<char,struct std::char_traits<char>,class stl_allocator<char,59,16> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class stl_allocator<char,59,16> > > > &)    Unknown
    14.     Unity.exe!WinMain()    Unknown
    15.     Unity.exe!strerror_s()    Unknown
    16.     kernel32.dll!BaseThreadInitThunk()    Unknown
    17.     ntdll.dll!RtlUserThreadStart()    Unknown
    18.  
    I did submit a bug with an attached crash dump as well.
     
  5. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,756
  6. ElvisAlistar

    ElvisAlistar

    Unity Technologies

    Joined:
    Oct 2, 2013
    Posts:
    226
    We now have a clear way of reproducing this crash and we will get a fix it as soon as possible.
     
    Last edited: Aug 4, 2015
    MrEsquire likes this.
  7. makeshiftwings

    makeshiftwings

    Joined:
    May 28, 2011
    Posts:
    3,350
    Just wondering was this fix supposed to be in beta 6? Because it's still crashing for me.
     
  8. Alex-Lian

    Alex-Lian

    Guest

    The b6 release notes specified it as a known issue. http://unity3d.com/unity/beta/unity5.2.0b6
     
  9. makeshiftwings

    makeshiftwings

    Joined:
    May 28, 2011
    Posts:
    3,350
    Ah ok, I didn't realize that was the same crash. Thanks!
     
  10. Alex-Lian

    Alex-Lian

    Guest

    FYI, should be fixed in the upcoming build.
     
  11. AlteredPlanets

    AlteredPlanets

    Joined:
    Aug 12, 2013
    Posts:
    455
    hello,

    my scene crashes on load in latest beta
     
  12. Alex-Lian

    Alex-Lian

    Guest

    Latest is still b6, the one makeshiftwings mentioned. So, the fix is not out yet.
    However, it's not clear if this is a different bug or not - have you submitted a bug report and share the bug number?
     
  13. AlteredPlanets

    AlteredPlanets

    Joined:
    Aug 12, 2013
    Posts:
    455
    no but I will real soon
     
  14. AlteredPlanets

    AlteredPlanets

    Joined:
    Aug 12, 2013
    Posts:
    455
    hello when will the next build be released?
     
  15. makeshiftwings

    makeshiftwings

    Joined:
    May 28, 2011
    Posts:
    3,350
    Does anyone know if this crash is still present in RC1? It takes forever to upgrade my project from 5.1 to 5.2 and then revert, so I'd rather not bother if it's already known that this fix isn't in yet. I didn't see it mentioned in the release notes.
     
  16. Alex-Lian

    Alex-Lian

    Guest

    It's fixed. Or at least this stack presented in this thread. If it's still showing issue for you, we'd like to know.

    For testing upgrades, I'd recommend copying your project to another folder and test the upgrade (assuming you have the space)
     
  17. Poelam

    Poelam

    Joined:
    Aug 29, 2013
    Posts:
    5
    Not sure if it is the same bug but my project still got crashed 100% of time when enter play mode (5.2.0f1)
     
  18. makeshiftwings

    makeshiftwings

    Joined:
    May 28, 2011
    Posts:
    3,350
    I tested my project and it no longer crashes, so it does seem like my particular case was fixed. Thanks!
     
  19. ElvisAlistar

    ElvisAlistar

    Unity Technologies

    Joined:
    Oct 2, 2013
    Posts:
    226
    If you have a case number for this crash, please post it here and we will take a look. It's likely to be a different crash than all the ones reported here (which should be fixed in the RC 1 build)
     
  20. jbooth

    jbooth

    Joined:
    Jan 6, 2014
    Posts:
    5,461
    Getting a crash on play in the f1 release, downloading f2 in case it's been fixed, but this was our first attempt at updating from 5.1 (which seems to have introduced a bug with Screen.SetResolution on iOS which wasn't present in 5.0)

    Bug #721804

    For us, it only happens when we're trying to load from asset bundles; if I use editor simulation of asset bundles, everything is fine.