Hello
I have some problems with the BlurEffect on the webplayer
[…..\Runtime\Graphics\RenderTexture.cpp line 164]
(Filename: …..\Runtime\Graphics\RenderTexture.cpp Line: 164)
RenderTexture creation error: CreateTexture failed [invalid call]
UnityEngine.Graphics:Internal_BlitMultiTap(Texture, RenderTexture, Material, Vector2[ ])
UnityEngine.Graphics:Internal_BlitMultiTap(Texture, RenderTexture, Material, Vector2[ ])
UnityEngine.Graphics:BlitMultiTap(Texture, RenderTexture, Material, Vector2[ ])
BlurEffect:FourTapCone(RenderTexture, RenderTexture, Int32)
BlurEffect:OnRenderImage(RenderTexture, RenderTexture)
[…..\Runtime\GfxDevice\d3d\RenderTextureD3D.cpp line 121]
(Filename: …..\Runtime\GfxDevice\d3d\RenderTextureD3D.cpp Line: 121)
RenderTexture.Create failed
UnityEngine.Graphics:Internal_BlitMultiTap(Texture, RenderTexture, Material, Vector2[ ])
UnityEngine.Graphics:Internal_BlitMultiTap(Texture, RenderTexture, Material, Vector2[ ])
UnityEngine.Graphics:BlitMultiTap(Texture, RenderTexture, Material, Vector2[ ])
BlurEffect:FourTapCone(RenderTexture, RenderTexture, Int32)
BlurEffect:OnRenderImage(RenderTexture, RenderTexture)
[…..\Runtime\Graphics\RenderTexture.cpp line 164]
(Filename: …..\Runtime\Graphics\RenderTexture.cpp Line: 164)
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
RenderTexture creation error: CreateTexture failed [invalid call]
(Filename: …..\Runtime\GfxDevice\d3d\RenderTextureD3D.cpp Line: 121)
RenderTexture.Create failed
Someone can help me to fix it?
Thanks in advance
Murcho
November 24, 2009, 12:18pm
2
What GPU are you trying to launch it on, and how much video ram does it have access to?
Are you using the latest version of the Pro Assets as well? If the project you are using was created in 2.5, make sure you re-import the Pro and Standard Assets that ship with Unity.
About the graphic card :
And i’m currently using 2.6 pro assets (re-imported)
Problem doesnt appear with 2.5 scripts.
We have a bug in 2.6 that affects render texture creation (actually recreation when the window size changes.) It’s possible that what you have here is a symptom of that bug. Without your project it is hard to confirm. 2.6.1 will have the render texture problem fixed and should be released within the next week. (“Should” in the sense that it is being tested at the moment, and if we find no new problems it can be released.)
Thanks,
Graham
Thanks for your answer.
(we resize the player very often so i think you pointed our bug)
Waiting for the 2.6.1 so
The problem still happen even if i disabled the blur effect
web: parent window change: 1d0980 0x0
D3D device reset failed [internal driver error]
(Filename: …..\Runtime\GfxDevice\d3d\D3D9Context.cpp Line: 282)
web: failed to setup window
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
d3d: failed to create dynamic vertex buffer of size 1048576 [invalid call]
RenderTexture creation error: CreateTexture failed [invalid call]
(Filename: …..\Runtime\GfxDevice\d3d\RenderTextureD3D.cpp Line: 121)
RenderTexture.Create failed
(Filename: …..\Runtime\Graphics\RenderTexture.cpp Line: 164)
RenderTexture creation error: CreateCubeTexture failed [invalid call]
(Filename: …..\Runtime\GfxDevice\d3d\RenderTextureD3D.cpp Line: 144)
RenderTexture.Create failed
Is there any way to fix this problem?
Now with 2.6.1 i have this :
web: parent window change: d05ce 1x1
RenderTexture.Create failed: width height must be larger than 0
UnityEngine.Graphics:Internal_BlitMultiTap(Texture, RenderTexture, Material, Vector2[ ])
UnityEngine.Graphics:Internal_BlitMultiTap(Texture, RenderTexture, Material, Vector2[ ])
UnityEngine.Graphics:BlitMultiTap(Texture, RenderTexture, Material, Vector2[ ])
BlurEffect:smile:ownSample4x(RenderTexture, RenderTexture)
BlurEffect:OnRenderImage(RenderTexture, RenderTexture)
[…..\Runtime\Graphics\RenderTexture.cpp line 138]
(Filename: …..\Runtime\Graphics\RenderTexture.cpp Line: 138)
I have to make a demo in few days :roll: