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
- UI Toolkit 'background-size' property is not fully animatable
- Moving the Scrollbar via clicking no longer works after the first-click when page size is too small
- Elements in UI Builder Viewport are displayed incorrectly when Editor UI Scaling is set to 125%
- Prefab referencing a script is not shown in the Search window's Project tab when using "Find References In Project"
- Scroll view sensitivity remains unchanged when modifying the "--unity-metrics-single_line-height" value
Add comment