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
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment