Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2019.3.14f1
Issue ID
1254117
Regression
No
[iOS] Plugin "Compile Flags" do not update on Append Build
Changes to native source "Compile flags" are not respected
1. Build the attached project for iOS
2. Go to TARGETS > UnityFramework > Build Phases > Compile Sources > Test.m.
3. Note the compile flag -DPLUGIN_IMPORTER_COMPILE_FLAG is set
4. Change the compile flags on Test.m to something else, e.g, "-DSOMETHING_ELSE"
5. Build again (CMD + B)
6. Note the compile flags is still set to -DPLUGIN_IMPORTER_COMPILE_FLAG
Note: If you instead rebuild from scratch (i.e., "replace") the trampoline project, the new compile flag is set correctly.
Expected behavior: The "compile flags" are updated each time the player is built.
Actual behavior: The "compile flags" are only used once, the first time the trampoline project is generated.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- WebGL Player with WebGPU Graphics API fails to render Scene when custom Render Feature is used
- “EndLayoutGroup” error thrown when changing Shader Precision Model settings in Build Profiles window > Player Settings Overrides
- Button hover state uses default theme color when a custom .uss is applied
- Samples Showcase script warning does not clear after enabling required settings until GameObject is reselected
- VFX Particles receive shadow artifacts when using ShaderGraph with enabled shadows and Face Camera Plane Orient mode
Resolution Note (fix version 2020.2):
Fixed in 2021.1.0a9.1547