Search Issue Tracker
Fixed in 2018.1.X
Votes
0
Found in
5.6.0f1
Issue ID
894279
Regression
Yes
Plugin platform settings are not set when using PluginImporter.SetEditorData()
To reproduce:
1. Open project
2. Open 'RenderingPlugin.bundle' folder settings in inspector. Make sure, that in platform settings CPU is not set to 'Any CPU' and OS is not set to 'OSX'
3. In menu choose Tools\Test\Set Plugin Import Settings Test
4. Open 'RenderingPlugin.bundle' folder settings in inspector
Expected: in platform settings CPU will be set to 'Any CPU' and OS to 'OSX'
Actual: in 2nd and 4th steps it has the same values
Reproduced on: 5.6.0a1, f2, 2017.1.0a5
Not reproducible on: 5.5.2p1, p3
Regression introduced in 5.6.0a1
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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
kersk
Apr 27, 2017 19:56
Workaround is to use the string-based SetPlatformData with "Editor" build target instead: PluginImporter.SetPlatformData("Editor", "CPU", "AnyCPU");