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
- “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
Add comment