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
- Build and Run button greyed out for locally invalid architecture, despite remote build is specified
- Graphics Settings: “Use Defaults” checkboxes misaligned in Tier Settings section
- VFX Graph particles are not culled when using URP and Frustum Culling is enabled on VFX Mesh Output
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
Add comment