Search Issue Tracker
Not Reproducible
Votes
0
Found in
2018.2.21f1
2018.3.7f1
2018.4
2019.1
2019.2
2019.3
Issue ID
1034095
Regression
Yes
Unity IAP isn't imported when building project from command line and missing library folder
Error is shown when Library folder is missing and building using the command line arguments: Assets/IAPTest.cs(11,9): error CS0246: The type or namespace name 'IAPListener' could not be found (are you missing a using directive or an assembly reference?)
Steps:
1. Download and extract the attached project ("repro_669049 2.zip")
2. Make sure in repro_669049/repro_669049/ there is no Library folder
3. Set the Unity Path and Project Path in build_OSX.sh script
4. Execute build_OSX.sh script using terminal "./build_OSX.sh"
5. In log_OSX.log find "The type or namespace name 'IAPListener' could not be found" error
Expected result: Build is successful.
Actual result: Build fails, The type or namespace name 'IAPListener' could not be found error is shown in .log file.
Workaround: Build again (make sure the Library folder is generated).
Reproduced with: 2018.2.21f1, 2018.4.0f1, 2019.3.0a6.
No reproduced with: 2017.4.28f1, 2018.1.9f2.
Note: tested builds for macOS Standalone, iOS, and Android - all are affected.
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
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
- UI Builder slider value lags and stutters when sliding/modifying certain property values
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
Resolution Note:
No longer reproducible from 2019.2 and up