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
- Video is not rendered in Video Player when Material Override is set as the Render Mode and a SpriteRenderer is used
- Scene.isSubScene returns True when a Scene that is not a SubScene is loaded in a build
- The Search window does not show objects with inherited components when filtering by type
- Scrolling occurs when using a shortcut with "Wheel Up" or "Wheel Down" on a selection command in a scrollable Hierarchy window
- Shortcut fails to trigger when using KeyCode.WheelUp with ShortcutModifiers.Shift
Resolution Note:
No longer reproducible from 2019.2 and up