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
- Performance Markers Search window shows an empty entry in the list
- Enabling Deep Profiling in Performance Markers Search window breaks Inspector panel buttons when navigating through the marker items
- Dragging selector from selector row background shows preview but does not apply class in UI Builder
- An "InvalidOperationException" error is thrown when TryRemoveItem is used with rebuildTree set to false
- Build fails with IL2CPP error when building on Android platform in a specific project
Resolution Note:
No longer reproducible from 2019.2 and up