Search Issue Tracker
Won't Fix
Votes
0
Found in
5.5.0f3
Issue ID
881775
Regression
No
Preprocessor directives aren't affected after switching platform to iOS if user doesn't reenter main Unity window
Steps to reproduce:
1. Download "TestUnityBug.zip" provided by the user
2. Extract and open the project
3. Go to build settings, make sure the build target is PC, MAC & Linux standalone
3.1. If it's not, switch platform to standalone, exit build settings and open them again
4. Switch platform to iOS
5. Build the project
6. Once the build finishes, observe the console
Expected result: console outputs lines
buildTarget=iOS
UNITY_IOS defined
Actual result: console outputs lines
buildTarget=iOS
UNITY_STANDALONE defined
Workaround: after switching platform, click on the main Unity window, then then preprocessor directives change accordingly
Reproduced on: 5.4.4p3, 5.5.1p4
Not reproduced on: 5.6.0b9
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
Add comment