Search Issue Tracker
Fixed
Fixed in 2022.3.16f1, 2023.3.0a19
Votes
0
Found in
2022.3.8f1
2023.3.0a4
Issue ID
UUM-48574
Regression
No
[Asset Bundles] [Android] BuildPlayerOptions.assetBundleManifestPath strips classes when building
Reproduction steps:
1. Open the attached project "ReproProj"
2. In the Editor menu bar click UNITY BUG > Build Asset Bundles
3. Click UNITY BUG > Build Player menu and create a folder where the gradle project will be built
4. Open the gradle project with Android Studio and select the Android Studio suggested SDK
5. Select your test Device and build the project
6. Observe the Player
Expected result: The game board is seen
Actual result: The player is mostly black and no game board is seen
Reproducible with: 2022.3.8f1, 2023.3.0a3
Could not test with: 2021.3.30f1, 2023.1.10f1, 2023.2.0b6 (Please specify a namespace for the generated R and BuildConfig classes via android.namespace in the module's build.gradle file)
Testing environment: Windows 10 Enterprise 21H2
Reproducible on:
VLNQA00332, Samsung Galaxy XCover4 (SM-G390F), Android 9, CPU: Exynos 7 Quad 7570, GPU: Mali-T720
VLNQA00325, Samsung Galaxy Note10 (SM-N970F), Android 12, CPU: Exynos 9 (9825), GPU: Mali-G76
VLNQA00318, Oneplus OnePlus 7 Pro (GM1913), Android 11, CPU: Snapdragon 855 SM8150, GPU: Adreno (TM) 640
VLNQA00231, Samsung Galaxy A5(2017) (SM-A520F), Android 8.0.0, CPU: Exynos 7 Octa 7880, GPU: Mali-T830
VLNQA00231, Huawei HUAWEI Mate 20 Pro (LYA-L29), Android 9, CPU: HiSilicon Kirin 980, GPU: Mali-G76
Not reproducible on: No other environment tested
Notes:
- Workaround for this issue:
- In the Project window search for BlockFactory.cs, uncomment line 10 (which is [RequireDerived])
- Re-build the project (UNITY BUG/Build Player menu item)
- Run on device
- Notice that there is a game board at launch since the prefab was loaded successfully
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
- VisionOS Player and Simulator crashes on "nw_read_request_report [C1] Receive failed with error "No message available on STREAM"" when playing a video through VisionOSVideoComponent
- Shader starts acting unexpectedly when SV_primitiveID is used in a Hull/Domain Shader
- [iOS] "Execution of the command buffer was aborted due to an error during execution" error is thrown continuously when using specific Project Settings and Anti-aliasing is enabled
- Inconsistent help box font size in Project Settings window
- Local package MonoBehaviour scripts appear as missing after updating the project when the project and package paths share the same prefix
Resolution Note (fix version 2023.3.0a19):
Fixed an issue where setting AppendHashToAssetBundleName to true would sometimes cause code that should be preserved to be stripped