Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.2
2017.3.0f3
Issue ID
978766
Regression
Yes
Target Platform not respected when building due to *remote setting* a$ package modifications resulting in failed builds.
Unable to build to any non default platform if AssetDatabase.SaveAssets is called
Steps To Reproduce:
1. Create a new unity project
2. Import the Remote Settings package from the app store
3. Save a scene with a single cube and add to Scenes in Build
4. Switch Target Platform to iOS
5. Build
6. OBSERVE: build fails with 5 errors ** SEE ATTACHED IMAGE **
Expected Result: Build should complete just fine
Actual Result: Build fails
Workaround 1: Reimport all
Workaround 2: Comment out AssetDatabase.SaveAssets in RemoteSettingsLinker.cs
Reproduces in 2018.1b1, 2017.3.0f3, 2017.2 (all versions)
Does NOT reproduce in 5.6.4
License type: Pro
REPRO 1
Steps to Reproduce:
1. Create a new unity project
2. Create a script with the IProcessScene flag and AssetDatabase.SaveAssets method
3. Save a scene and add to Scenes in BUild
4. Switch Target Platform to iOS
5. Build
6. OBSERVE: build fails with 5 errors ** SEE ATTACHED IMAGE **
See attached repro project titled SIMPLE REPRO
Expected Result: Build should complete just fine
Actual Result: Build fails
REPRO 2
Steps To Reproduce:
1. Create a new unity project
2. Import the Remote Settings package from the app store
3. Save a scene with a single cube and add to Scenes in Build
4. Switch Target Platform to iOS
5. Build
6. OBSERVE: build fails with 5 errors ** SEE ATTACHED IMAGE **
Expected Result: Build should complete just fine
Actual Result: Build fails
Workaround 1: Reimport all
Workaround 2: Comment out AssetDatabase.SaveAssets in RemoteSettingsLinker.cs
Reproduces in 2018.1b1, 2017.3.0f3, 2017.2 (all versions)
Does NOT reproduce in 5.6.4
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Label” name in Sprite Library Editor window lacks character limit causing long names go under the Object Field
- Preview image (screenshot) is not available after capturing snapshot in Memory Profiler
- Crash on UNITY_FT_Stream_ReadAt when changing TMPro properties after unloading an AssetBundle
- Particles spawn at the same position when using raw byte address buffer in VFX Graph
- Decal Shader Graph - Custom vertex interpolators are always 0
Add comment