[Editor] Compilation warnings in Unity 6 Preview
Closed this issue · 0 comments
anonymous2585 commented
Describe the bug
In edtior, I got two warnings due to deprecated methods in Unity 6 Preview (6000.0.14f1).
Packages\com.gustavopsantos.reflex\Editor\DebuggingWindow\UnityScriptingDefineSymbols.cs(29,36): warning CS0618: 'PlayerSettings.GetScriptingDefineSymbolsForGroup(BuildTargetGroup)' is obsolete: 'Use GetScriptingDefineSymbols(NamedBuildTarget buildTarget) instead'
Packages\com.gustavopsantos.reflex\Editor\DebuggingWindow\UnityScriptingDefineSymbols.cs(34,9): warning CS0618: 'PlayerSettings.SetScriptingDefineSymbolsForGroup(BuildTargetGroup, string)' is obsolete: 'Use SetScriptingDefineSymbols(NamedBuildTarget buildTarget, string defines) instead'
To Reproduce
Steps to reproduce the behavior:
- Follow the Greetings tutorial
- Close the project, delete the "Library" folder
- Open the project
- See the two warnings
Expected behavior
No warnings.
Desktop:
- OS: Windows 10
- Version 8.5.1
- Unity 6000.0.14f1