This topic has been locked
EvilBro Nov 5, 2017 @ 11:02am
<Solved> Unity games won't run on Windows 10 1709
Short story:
Games that use Unity do not work and give an error:
"IndexOutOfRangeException: Array index is out of range.
at UnityEngine.Display.RecreateDisplayList (System.IntPtr[] nativeDisplay) [0x00000] in <filename unknown>:0"
What is wrong? And how do I fix this?

Long story:
A few days ago Windows 10 updated to version 1709. All seemed well until I wanted to play a game of Twilight Struggle. When I started it, there was an icon on the task bar and the title screen music, but no title screen. I "quickly" discovered that this happens with all games in my library that use Unity.

I thought the graphics driver might perhaps be at fault, so I upgraded to the newest version (Nvidia geforce 388.13 for a GTX 650). This changed nothing. I tried several driver versions (376.19, 382.05), but all had the same result.
If I disable the driver, games start normally (albeit really slow). If I look at the outout_log.txt from a Unity based game, I see that the driver it reports is Microsoft Basic Render Driver.
If I enable the driver, I see that it mentions NVIDIA Geforce GTX 650 in the output_log.txt. It also has the following exception in output_log.txt:
"IndexOutOfRangeException: Array index is out of range.
at UnityEngine.Display.RecreateDisplayList (System.IntPtr[] nativeDisplay) [0x00000] in <filename unknown>:0"

I've tried all types of launch settings (dx 9, dx 11, etc.), I've tried with game bar and without, I've tried with overlays (steam's and geforce's) and without and none of it had any impact.
Some games like Teslagrad give the same error in the output_log.txt, but also give a popup that says "Couldn't switch monitor resolution".

Does anyone know what might cause the IndexOutOfRangeException? And how to avoid it? Or what else I can try to troubleshoot this problem further?
Last edited by EvilBro; Nov 11, 2017 @ 12:26pm
< >
Showing 46-60 of 67 comments
mrrobbrecht Feb 2, 2018 @ 9:42am 
Originally posted by FlindoJimbori:
Try this:

Originally posted by NeoLeprecaun:
thanks for the help! i was able to fix it by going into windows settings > display > display adapter properties > Intel HD Graphics Control Panel > Graphics Properties > maintain aspect ratio > apply. now if i can get my speakers to work again... i hate windows updates :(
Now the game opens but i just get a black screen (thanks for the help so far by the way).
Night star Feb 2, 2018 @ 9:47am 
Originally posted by mrrobbrecht:
Originally posted by FlindoJimbori:
Try this:
Now the game opens but i just get a black screen (thanks for the help so far by the way).
Try to open while pressing "shift"
mrrobbrecht Feb 2, 2018 @ 9:49am 
Originally posted by Night star:
Originally posted by mrrobbrecht:
Now the game opens but i just get a black screen (thanks for the help so far by the way).
Try to open while pressing "shift"
Doesn't work, sadly enough
Lid Feb 2, 2018 @ 10:54pm 
I have AMD Radeon R6 (sorry, i'm little fool about computers), How can i find the route in order to fix this problem? I cant play Cuphead. When it starts, only sound the music, but the screen is in black (even i can't maximize it) I try to apply yours solutions, but i can't find the route on my laptop.
Pietruszek Feb 3, 2018 @ 3:47am 
Originally posted by Lid:
I have AMD Radeon R6 (sorry, i'm little fool about computers), How can i find the route in order to fix this problem? I cant play Cuphead. When it starts, only sound the music, but the screen is in black (even i can't maximize it) I try to apply yours solutions, but i can't find the route on my laptop.

When will people start reading other posts??? It's on the first page of this discussion...

Originally posted by capedcrafter:
Originally posted by |FOS|. Awperator:
I have AMD cards will this still work?

I went to AMD Radeon settings and under 'display' changed scaling mode from 'preserve aspect ratio' to 'full panel'. Worked perfectly for me. Games are running again. Thx for the tip EvilBro!
Djihad Joe Feb 10, 2018 @ 11:11am 
GeForce experience thingy also fixed my Problem with X-Com 2
michalbelsan Feb 13, 2018 @ 12:11pm 
Originally posted by Keaser The Hacker Boi:
I got myself an AMD Radeon R9 200 series, if I go into the settings and set it to Full panel on the display, I can actually open the unity game. But it is still a black screen and nothing else seems to happen, any help?

Same problem here, Ive changed settings in AMD. I can open the game but with black screen and finally an error occurs.
xantxant Feb 16, 2018 @ 4:07pm 
Originally posted by EvilBro:
This post is just to document how I fixed this (Maybe it is of some use to someone):

[...]

I went into Nvidia Control Panel. This is where I changed "Aspect ratio" to "No scaling" on the Adjust desktop size and position page (with "perform scaling on Display"). Suddenly everything was okay again. In DS3 I had options for resolutions. If I started up a Unity game with shift, the Select Monitor was no longer empty, but said "Display 1".
I tried switching back to "Aspect ratio" to see if this would break things again. It did for some games (e.g. Hearthstone), but others kept working. I also tried "Override the scaling mode set by games and programs" and that seem to work as well.

Now I have no idea why this works, but it did (for me).

You are a hero! This fixed the problem! Not only that, you fixed the problem two different Unity games of mine--Overcooked and Epistory, for anyone searching in the future, both games were affected the same way.

Last edited by xantxant; Feb 16, 2018 @ 4:08pm
LV|Ironstorm767 Mar 5, 2018 @ 2:34pm 
Much appreciated everyone that's provided help with this.

Wish I had found this sooner to help folks with Verdun after Creator's Updates in October/November.

@OP: Perhaps you could edit your original post to include your fix?

Originally posted by Lid:
I have AMD Radeon R6 (sorry, i'm little fool about computers), How can i find the route in order to fix this problem? I cant play Cuphead. When it starts, only sound the music, but the screen is in black (even i can't maximize it) I try to apply yours solutions, but i can't find the route on my laptop.
Try changing the settings in the Intel Graphics Control Panel*, for laptops.

https://steamcommunity.com/discussions/forum/1/1480982971174752598/#c2906376154326149799

Originally posted by michalbelsan:
Originally posted by Keaser The Hacker Boi:
I got myself an AMD Radeon R9 200 series, if I go into the settings and set it to Full panel on the display, I can actually open the unity game. But it is still a black screen and nothing else seems to happen, any help?

Same problem here, Ive changed settings in AMD. I can open the game but with black screen and finally an error occurs.

There's nothing like CCC's settings?
Catalyst Control Center in Advanced View, selected My Digital Flat Panels > Properties (Digital Flat Panel), and under "Image Scaling Preferences" selected "Maintain Aspect Ratio".

Sidenote: I don't have Radeon Settings, so I'm not keen on the difference between the old and new.

*P.S. Might apply to AMD integrated graphics on laptops as well.

P.P.S. Frankly, I feel like Microsoft is at fault here, but what do I know.
Last edited by LV|Ironstorm767; Mar 5, 2018 @ 3:20pm
Oxe Mar 15, 2018 @ 6:29am 
OH GOD THAT ACTUALLY FIXED IT
So, mine's a standard Intel HD Graphics and I changed the display options to full panel instead of preserve aspect radio just like someone said on the comments about the AMD Radeon and it fixed it, thank youu :heart:
num1nex Mar 26, 2018 @ 7:56pm 
Originally posted by zeotherm:
For the record, I had the same issue and came upon this thread. My laptop has a Nvidia GTX 860M and an Intel Integrated Graphics adapter. What I found that fixed this issue was to go into the Intel Control panel and switch the 'Scaling' option from "Maintain Display Scaling" to "Maintain Aspect Ratio"

Now all my Unity based games seem to be running fine, where as before I got that exception in them after the Windows Fall Update. So, seems to NOT be an NVidia thing, but a Intel thing. Hope this can help someone out.

many thanks!
renzo.and Apr 4, 2018 @ 7:22am 
Hello everyone, hoping someone is still subscribed to this thread.

I have an NVIDIA card and have been tweaking the scaling option in the NVDIA control panel without success. I also tried to completely uninstall the drivers and re-install them, and nothing changed.
I also tried to check the “Override high-DPI scaling behavior. Scaling performed by:” option in the compatibility tab of the executables (which is what allowed me to correctly launch the games before the 1709 update), but this too did not work.
By the way, the game I use to test if the system is working is One Finger Death Punch, because it is light and automatically starts in window mode.
It only worked once when I tried to launch it after having uninstalled the video drivers: then I rebooted the system and tried again, before installing the drivers, and it did not work a second time.

I really hope someone is able to suggest an additional option/tweak I could try apart from rolling back to the version of Windows 10 before 1709 - which would work, but then the update will be forced again in a matter of a couple of days.

Thank you!
LV|Ironstorm767 Apr 4, 2018 @ 7:30am 
@Renzo.and: Are you on a laptop or desktop?
renzo.and Apr 4, 2018 @ 9:04am 
Originally posted by LV|Ironstorm767:
@Renzo.and: Are you on a laptop or desktop?
Desktop, and the display is plugged into the GPU.
DarKrOwN Apr 13, 2018 @ 5:09pm 
Originally posted by Keaser 5. Meowrail 3:
I got myself an AMD Radeon R9 200 series, if I go into the settings and set it to Full panel on the display, I can actually open the unity game. But it is still a black screen and nothing else seems to happen, any help?

Same help pls
< >
Showing 46-60 of 67 comments
Per page: 1530 50

Date Posted: Nov 5, 2017 @ 11:02am
Posts: 67