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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
- [Editor] Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
Add comment