Closed HoloMoto closed 3 months ago
Good to hear from you @HoloMoto! If you use Graphics Tools v0.7.1+ does the issue go away? It should have been fixed in https://github.com/microsoft/MixedReality-GraphicsTools-Unity/pull/212
Marking as closed since this is fixed in v0.7.1.
Describe the bug
I was investigating the use of MRGT in Unity6. (I'm trying to combine this with my Unity6 studies since I haven't been exposed to it lately!) The import and shader functions themselves seem to be usable from what I can see, but in the acrylic functionality, the RenderTarget Handle class is deprecated in Unity6 and replaced by the RTHandle system. Currently the AcrylicBlurRenderPass class uses the RenderTargetHandle class like RenderTargetHandle target1, but it needs to be replaced with the RTHandle system.
This causes the following error when importing in Unity6
To reproduce
For now, I am able to use it normally by deleting the acrylic folder.(-"-) This wonderful MRGT project should continue to be usable in Unity 6! (I WANT TO USE!!!!!!!)
Screenshots
Your setup (please complete the following information)
Target platform (please complete the following information)
Reference Info
https://forum.unity.com/threads/rendertargethandle-is-obsolete-deprecated-in-favor-of-rthandle.1211052/
https://docs.unity3d.com/Packages/com.unity.render-pipelines.universal@13.1/manual/upgrade-guide-2022-1.html