- Home /
Game works in editor, but breaks when exported.
My current projects is a little 2D platformer. It functions fine in the editor, but when I build it I run into one of two issues. If I run it at my native resolution (1920 x 1080), after the unity logo it suddenly switches to full screen, and this pops up.
If I run it at a smaller resolution, this doesn't happen, but the UI won't function. Any ideas how to fix this?
Take a look at the output.log file that gets created with each Build.
The log has these three errors:
D3D11: Failed to create RenderTexture (0 x 0 fmt 27 aa 2), error 0x80070057
(Filename: Line: 206)
D3D11: Failed to create RenderTexture (0 x 0 fmt 27 aa 1), error 0x80070057
(Filename: Line: 206)
D3D11: Failed to create RenderTexture (0 x 0 fmt 44 aa 2), error 0x80070057
(Filename: Line: 206)
I'm not sure what they mean. Any ideas?
Answer by Mons657 · Jul 23, 2015 at 01:31 AM
Never mind, I just fixed it. I created a new panel for my main menu and transferred everything into it. The menu is set up exactly the same way, but for some reason it works now. Oh well.
Your answer
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Unity application randomly freezing on occasion 2 Answers
short freeze every 4-5 seconds in web build 1 Answer
Freeze when building 0 Answers
Static classes and references are bad for Builds... Alternatives? 1 Answer