- Home /
RenderTexture.Create failed RenderTexture.GenerateMips failed
With my Unity Webgl game, I'm having these two errors(in picture) spamming in console and a low performance (20 fps) in Chrome @ Computer B.
Firefox @ Computer B does not produce these errors.
Chrome @ Computer A does not produce these errors. Both Chromes are the same and the latest version.
RenderTexture.Create failed: format unsupported - R8 Unorm (16)
RenderTexture.GenerateMips failed: render texture is not rendered into yet, or does not have a color surface.
For the last 7 hours, I tried almost everything in the Editor to evade these errors. When i disable my Terrain, the error goes away(so does my game map)
I don't know if it is related but I found someone connecting his/her error to "reflection probe data issue" Starting with that idea I tried:
-Disabled "Bake lights probes for trees" although I don't have trees.
-Tried "Instanced Draw"
-Disabled shadows in Directional Light.
-Disabled "Reflection Probes".
-Disabled "Lightmap Static".
-Disabled "Cast Shadows"
The error is still there. In my "Light Explorer" there is only Directional Light, which is set to Realtime.
Is there anybody out there who knows about this?
@zeroisthenew1 Did you every find your answer? I'm having the same problem.
I couldn't but I changed that terrain's material (which I found that causes the issue). That solved it. It gets the error with some certain Graphic Cards.
I also encountered the same problem with another surface. After seeing the error again(only in that other computer which has a different Graphic Card), this time I removed that surface completely to bypass the error. This seems like a bug of Unity.
Answer by MicahWest · Oct 02, 2019 at 07:08 PM
We had this issue and were able to solve it by switching from Built In Standard to Built in Legacy for the material in the Basic Terrain settings of the Terrain.
Your answer
Follow this Question
Related Questions
GL build won't run on Chrome 1 Answer
Unity WebGL not playing in Chrome 1 Answer
Out of memory error 0 Answers
Unity WebGL Problem 0 Answers