使用Unity 6时新建了项目,有一个警告提示:
The project currently uses the compatibility mode where the Render Graph API is disabled. Support for this mode will be removed in future Unity versions. Migrate existing ScriptableRenderPasses to the new RenderGraph API. After the migration, disable the compatibility mode in Edit > Projects Settings > Graphics > Render Graph.
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadMethodAttributes () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorAssemblies.cs:142)
如何修改:
1. Unity编辑器:Edit > Project Settings > Graphics
2. 找到Render Graph
3. 取消勾选 Compatability Mode (Render Graph Disabled)
参考:
https://www.reddit.com/r/unity/comments/1drdn7g/the_project_currently_uses_compatibility_where/