Search Unity

Game Crashes Upon Boot Up on select Xbox One's

Discussion in 'Windows' started by DaNova, May 17, 2021.

  1. DaNova

    DaNova

    Joined:
    Jan 22, 2017
    Posts:
    8
    I launched my game "the office simulation" on Xbox for free last week to find that a few of my friends are struggling to even boot the game. A few of my friend's tried booting and had no issues, and a few had to try booting 5 times before the game would actually launch.

    During that week, I have been searching for the cause, wondering if too much is being loaded into the scene at once, if graphics are set too high, but from what I can tell, it did not change a thing.

    I also looked into errors, but I cannot find a single thing. I am not really sure who to turn to, so here I am lol.

    I am using Unity 2020.2.2f1, and the build being released is x64, and build configuration is Master.

    Another thing to note is that it seems that the auto crashes are mostly happening on Xbox One X, but I have seen other people with launch Xbox Ones having the same problem. However on my Xbox One S, it runs perfectly fine.

    Also if anyone wants to download the game and try for themselves to see if there is an obvious reason for the crashes that I am simply just missing, that would also be appreciated. Thanks!
     
  2. SniperED007

    SniperED007

    Joined:
    Sep 29, 2013
    Posts:
    345
    Not sure if it's related but seems like all the UWP Games crash on loading on the new Xbox Series X | S
     
  3. DaNova

    DaNova

    Joined:
    Jan 22, 2017
    Posts:
    8
    hm well that's an issue lol. What exactly is the alternative then? Does Unity have another way to build for Xbox, because from what I can tell, UWP is the only option

    Also, it seems like crashing is just a general problem even outside of Series S/X. Xbox One X and launch Xbox Ones have crashing issues.
     
  4. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    We haven't received any reports of games random crashing on some consoles. And the report that all UWP games made in Unity crash on Xbox Series X | S cannot be true, as we tested it and it was working fine on our end. @SniperED007 if you have a repro that crashes on Xbox Series X | S, we'd love a bug report and would definitely investigate it.

    @DaNova I assume you haven't been able to reproduce those crashes yourself? Do you have access to any crash reports in the dev center?
     
  5. DaNova

    DaNova

    Joined:
    Jan 22, 2017
    Posts:
    8
    I have not been able to on my own system (Xbox One S) but I have tested it on my friend’s Xbox One 2013 and Xbox One X and both had crashing issues upon boot up.

    I do have crash reports in the dev center, but they are all marked as unknown oddly
     
  6. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Were you able to test it in developer mode? If so, did you manage to catch a callstack or at least extract the player log?
     
  7. DaNova

    DaNova

    Joined:
    Jan 22, 2017
    Posts:
    8
    I did test in dev mode prior to releasing it and I came up blank. It ran normally with no issues
     
  8. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Were those tests in dev mode only tested on your console that you cannot repro the issue on? Or did they also not repro on your friends consoles? If it's the former, any chance you could borrow their console, switch it to devmode and try running the game via a debugger on it?
     
  9. DaNova

    DaNova

    Joined:
    Jan 22, 2017
    Posts:
    8
    I could potentially try to, but it may not be for a while and I was trying to get the update out by the end of the week. If that’s my only solution at this point that’s fine but is there potentially an alternative solution to finding a fix?
     
  10. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Well, we need a way to even recognize what the problem is. One way to do it is by accessing the crash reports on the dev center but I am not sure if you see any reports coming in through that. Another way is to manage to reproduce it yourself and catch the crash in the debugger/see what the log says. Lastly, you could also submit your project to Unity via a bug report and we could try to reproduce on our side, but there are no guarantees we'll be successful at doing that.
     
  11. SniperED007

    SniperED007

    Joined:
    Sep 29, 2013
    Posts:
    345
    Just look at the reviews on Xbox for any of the creators games, they all say "doesn't work on my series X" etc.
    I released a game on Xbox One but that same game doesn't work on Xbox Series X. (not sure about doing a build to it, but the store game does not work, it opens up the splash screen and then crashes back to the dash)

    You can test it yourself it's called: "Death in the Water"
    I've had a look at a few other games and they all have the same issue, and lots of 1 star ratings saying it doesn't work on their Series X consoles.
     
  12. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Why haven't you filled a bug report then? o.o
     
  13. SniperED007

    SniperED007

    Joined:
    Sep 29, 2013
    Posts:
    345
    Because I'm not a software tester for Unity I have my own bugs to worry about :(
     
  14. DaNova

    DaNova

    Joined:
    Jan 22, 2017
    Posts:
    8
    Okay, I will work on my own end to see if I can reproduce it myself, but how would I go about submitting it to Unity to check?
     
  15. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
  16. Behappy859

    Behappy859

    Joined:
    Jul 25, 2019
    Posts:
    15
    I'm having the same issue I believe. On my Xbox one my game works great. However on my Xbox series S I load my game in dev mode and the Xbox S restarts itself back to dev mode. Using unity 2019.28.f1. I updated VS2019 installed latest SDK 2022. Assuming I was using the wrong SDK 2019.
     
    cjjeffery likes this.
  17. Behappy859

    Behappy859

    Joined:
    Jul 25, 2019
    Posts:
    15
    I'm glad someone received a reply. I asked this question last year and didn't get a good answer. I'm using creators program on Microsoft. I even bought my own game on Xbox one. Why it doesn't work on the Xbox series is still beyond me. Please share if someone has a answer. Unity 2019.4 LWS version
     
  18. davohl

    davohl

    Joined:
    Jan 31, 2016
    Posts:
    1
    Im having the same issue
     
  19. micahxavier2018

    micahxavier2018

    Joined:
    Dec 1, 2020
    Posts:
    24
    Unity we need a fix, my game crashes on series X and people are tryna refund it. I cant have that. I barely make enough from it as it is.
     
    Behappy859, ZikW and SniperED007 like this.
  20. Peterj76

    Peterj76

    Joined:
    Nov 28, 2015
    Posts:
    8
    Hi, I am making a new game now 'Alien Annihilation'... From MS Dev Center reports I can see it hung on XBOX One, but seems to work on XBOX Series S/X (I think)... The version that crashed didn't have debug references embedded in my APPX Package so I couldn;t see the crash details but a newer version does, so if it happens again I'll get a stack track

    I had an issue with a previous game I made running on XBOX, where it had some white border around the game. I fixed that by building the game as UWP D3D rather than UWP XAML, altough both MS and Unity suggest XAML...
     
  21. ZikW

    ZikW

    Joined:
    Aug 18, 2014
    Posts:
    18
  22. micahxavier2018

    micahxavier2018

    Joined:
    Dec 1, 2020
    Posts:
    24
    @ZikW huh really? ok then, I'll ask my friend and ask him to do that and see if it fixes.
     
  23. micahxavier2018

    micahxavier2018

    Joined:
    Dec 1, 2020
    Posts:
    24
    @ZikW It still crashes on start
     
  24. SniperED007

    SniperED007

    Joined:
    Sep 29, 2013
    Posts:
    345
    I'm going to have to pull the game from the Microsoft store as it's getting a lot of attention because of the Steam version doing really well yet it still doesn't work on Series consoles, it's been over 2 years since this was first reported and still no updates from Unity. @Tautvydas-Zilys
     
  25. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    I don't think we ever actually received a bug report. Do you have a bug number?

    From what we've seen, Unity works fine on Xbox. There are currently no crash issues that we know of. The only bug we have that is active is about reflection probes being rendered slightly wrong.
     
  26. SniperED007

    SniperED007

    Joined:
    Sep 29, 2013
    Posts:
    345
  27. SniperED007

    SniperED007

    Joined:
    Sep 29, 2013
    Posts:
    345
    Suppose that's true if you choose to ignore all the people who have reported it crashing on Xbox Series S | X in this forum.
     
  28. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Known means reproduced, confirmed and tracked as a bug in the issue tracker.

    As mentioned in the forum code of conduct, forum posts do not count as bug reports. We cannot investigate them properly: we cannot look at the project code, we cannot attach a debugger, and we certainly cannot verify that our changes will fix the issue (since we don't know what the issue even is!). All of our internal projects work on Xbox Series X. In the very first response I asked for a bug report so we could investigate deeper as we are unable to progress further without that.

    All I can do is post general troubleshooting tips. But that doesn't always help (it does in a lot of cases if you look at many threads in this forum) and will not work if it happens to be an issue inside Unity that you cannot work around.
     
  29. SniperED007

    SniperED007

    Joined:
    Sep 29, 2013
    Posts:
    345
    Filtered by Xbox Series S | X for the last 72 hours:

    upload_2023-8-17_14-40-29.png

    Filtered by Xbox One for the last 72 hours:

    upload_2023-8-17_14-41-31.png
     
  30. ZikW

    ZikW

    Joined:
    Aug 18, 2014
    Posts:
    18
    This may be difficult to fix if it's sporadic. But in my case the user just had to reinstall the game and I was always able to launch it on Xbox One, One X and Series X.

    If it can help:

    I'm using Unity 2020.3.48f1
    Direct3D11 and Direct3D12 selected in Graphics APIs.
    Windows SDK minimum platform version: 10.0.22621.0


    I'm not sure if this is accurate. I think that when I was working on my game I would see some crashes being reported when I was the only one using the game and it was working fine. I think I read somewhere that the UWP Xbox Live integration could cause this on PC. So maybe it can cause this kind of things on Xbox too. I'm going to release my game on Steam too so like you I'm wondering if I should remove it from the Xbox Store. But what I know is that it works fine for many people on Xbox.
     
  31. MetaVizion

    MetaVizion

    Joined:
    Jun 4, 2016
    Posts:
    1
    Just in case anyone is still having this issue, I was experiencing the same crashes on boot. I was able to get my game working 99 percent of the time by launching it as an “game” instead of the default “app” in the Dev Home.

    You can find the option under “View Details”