[1342] LODGroup AnimateCrossFading doesnt work (Unity2022)
complete
whiteflare
I uploaded a world in Unity 2019 and discovered this when viewing it in Unity 2022.
The Animate Cross-fading shader effect in LODGroup was working in 2019, but not in 2022.
The LODGroup component appears to be working to animate, but the shader does not appear to be able to animate.
The area around the shader keyword
LOD_FADE_CROSSFADE
did not seem to work well in 2022, but I cannot be sure.Log In
StormRel
complete
This post was marked as
available in future release
StormRel
complete
This post was marked as
available in future release
vavassor
I also saw that animate cross-fading was not working in two of my worlds but is now working after upgrading them to world sdk version 3.5.0 and Unity 2022.
aurycat
Same for me as whiteflare, AnimateCrossFading is working now with the Unity 2022 SDK!
whiteflare
Additional report.
I have uploaded the world using the VRCSDK for Unity2022 and have seen AnimateCrossFading working!
If it does not work, re-uploading with Unity2022 should fix the problem.
Thank you very much.
MissStabby
It's also in my cinema map on the cinema chairs that are using animated LOD crossfades:
StormRel
Merged in a post:
[Unity 2022 Open Beta]Animated Cross Fade in LOD is not working
wata23
他のワールドでは分かりませんが、少なくとも私のワールド『The Sanctuary Forest』でLODのAnimated Cross Fadeが機能していないことを確認しました。
LODのAnimated Cross Fadeがうまく機能しない問題は、UnityのLODコンポーネント、またはシェーダーの問題か、あるいは両方に原因がある可能性がありそうです。
参考になるかは分かりませんが、ShaderはUnityのSurfaceShaderを使った自作のカスタムシェーダーです。
とはいえ前のUnityで動いていたことを考えると、2022で何かしらの問題が起こっているのだと思っています。
私のShaderの問題であれば、2022になってから修正しますが、もし一般的な問題であれば修正のほどよろしくお願いします。
読んでくれてありがとうございます。
I don't know about other worlds, but I have confirmed that the LOD Animated Cross Fade is not working, at least on my world "The Sanctuary Forest".
It seems that the problem with LOD's Animated Cross Fade not working well could be due to a problem with Unity's LOD component, or shaders, or both.
I don't know if this will help, but the Shader is a custom shader I made myself using Unity's SurfaceShader.
However, given that it was working in the previous Unity, I believe that something is wrong with 2022.
If it is an issue with my Shader, I will fix it after 2022, but if it is a general issue, please help me fix it.
Thanks for reading and I hope this helps.
aurycat
I'm experiencing this too, but I'm not even using "Animate Cross-fading", I'm just using regular "Cross Fade" (based on distance).
My crossfade shader is using the
unity_LODFade
variable wrapped in a #if defined(LOD_FADE_CROSSFADE)
. I tested having the shader adjust the output color of the fragment inside that #if
check, and it changes the color in Unity 2019 (i.e. in the editor) but doesn't change color in Unity 2022 (i.e. in game). So I think that means LOD_FADE_CROSSFADE just isn't working. I tried getting rid of the #if
and still using unity_LODFade
, but that breaks in 2022 -- it's clearly not being set.Maybe Unity 2022 has a different way of doing crossfades? I'll keep looking into it and post back here if I figure anything out.
Load More
→