Search Issue Tracker

Fixed in Unity 2018.2



Found in

Issue ID




[MacOS] Standalone Player crashes at launch when the width / height is set to 0.




Priority: 2Necessary for shipping a final release


Severity: 1Crash, freeze, data loss, work stops

When the Standalone Player width / height is set to 0, the Player crashes at launch.

Due to the Screenmanager info is saved in the file named in Bundle Identifier, and the setting does not update automatically when create new project. Several projects can end up sharing the same .plist file.
If one of them set the Player height/width to 0, it affects all other projects with the default Bundle Identifier settings, creating the illusion that "all projects crash at launch."

Repro step:
1. Open 2018.2.0b11 Unity Build with an existing project or create a new one.
2. Build the standalone player with height/width set to 0.
3. Launch the built Player.

It seems the crash has nothing to do with the Player Settings.
Though it crashes for both Metal and OpenGL Graphic APIs, it crashes for different reasons.

More information will be in the comment sections for better separation.

Comments (12)

  1. 8f50bffe2407541ce669742f320240fc?d=mm


    Dec 20, 2018 10:17

    Information and useful one, Thanks admin.

  2. 58ecc0d94819b8b20171e1adae5e0521?d=mm


    Nov 28, 2018 11:10

  3. 82f726d4897f02aafb4cbe36ff500740?d=mm


    Nov 27, 2018 12:02

  4. 82f726d4897f02aafb4cbe36ff500740?d=mm


    Nov 27, 2018 12:01

    We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Great work.

  5. 9e26d1693cb6e1a7027c4c797817661e?d=mm


    Nov 08, 2018 05:08

  6. 4612a0ebcd2fdcb5e1a0a1aac067b5ef?d=mm


    Sep 19, 2018 11:48

    Thanks a lot very much for the high quality and results-oriented help. I won’t think twice to endorse your blog post to anybody who wants and needs support about this area.

  7. 84605496aac91d028000a73d46f0279e?d=mm


    Sep 17, 2018 05:55

    Wow! this is really nice information and this info is very useful to all the people. Thanks for sharing such a wonderful article...

  8. Cfca392ef145669ae4df01853d4d968b?d=mm


    Sep 12, 2018 03:19

    Thanks for this! Really needed it.

  9. 0bff752a7d2df44ed120b0fb368dae2c?d=mm


    Aug 20, 2018 11:02

    Useful information to fix the standalone player crashes, I exactly searched what you have posted here, Thank you so much.

  10. 89788f5c323b062a87a4390e76c3c073?d=mm


    Aug 13, 2018 10:49

    Thanks for the useful tutorial.


All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.