Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.2.0f3
Issue ID
964566
Regression
No
[MacOS] EditorPrefs.SetString fails to set value if used in batchmode
To reproduce:
1. Download project
2. Run from command line:
/Applications/Unity/Unity.app/Contents/MacOS/Unity -batchmode -quit -projectPath [PATH_TO_PROJECT] -executeMethod SetPrefs.SetData -logFile
3. 'Set: CustomData' message is thrown to console log, which means EditorPrefs.SetString was called
4. Run: /Applications/Unity/Unity.app/Contents/MacOS/Unity -batchmode -quit -projectPath [PATH_TO_PROJECT] -executeMethod SetPrefs.GetData -logFile
Expected: 'Get: CustomData' message to console log will be thrown
Actual: 'Get: Nothing' message to console log is thrown
Reproduced on: 5.6.3p4, 2017.1.2p1, 2017.2.0p1, 2017.3.0b6, 2018.1.0a2
Comments (1)
-
LostBoyRadPaisley
Jan 08, 2020 23:33
What is the workaround?
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
Any fix to this will be risky. Given the existence of a workaround, this is not something that we should fix.