Search Issue Tracker

Fixed in 5.5.0



Found in


Issue ID




[Win] First time calling SystemInfo.deviceModel when game is maximized on play causes NullReferenceException



How to reproduce:
1. Open the attached "" project
2. Open "0_Main_Menu" scene
3. In Game view select "Maximize on Play"
4. Play the scene
5. Observe the exceptions in the console NullReferenceException: Object reference not set to an instance of an object

6. If you stop and play again, exceptions will not occur
7. If first time you play with "Maximize on Play" deselected, exceptions will not occur

Not reproducible: 5.3.4p3

Comments (6)

  1. Justlenny

    Aug 11, 2017 14:40

    started happening in the 2017.1 and the mouse conrolling stopped working

  2. Mareck

    Feb 02, 2017 10:00

    Still happening in 5.4.4p1

  3. Kelvinp

    Jan 11, 2017 14:15

    Bump. Not fixed with current version 5.4.2f2

  4. KaffeSumpen

    Oct 17, 2016 19:09

    This is issue is NOT fixed, getting the error in 5.4.1f1

  5. filiperangel

    Oct 04, 2016 15:06

    I can also confirm that this is happening in unity 5.4.1f1

  6. andrew-lukasik

    Sep 22, 2016 15:58

    I can confirm this happening in 5.4.1f1

Add comment

Log in to post comment

All about bugs

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