Search Issue Tracker

Won't Fix



Found in


Issue ID




[Android]The generated by Unity during android compilation is too big which causes refer to all resources.



Steps to reproduce:
1. Open "" project
2. Build project on android platform
3. Go to Temp/stagingArea/gen and in search field type
-Observe that 3 same files were generated

Actual result: The generated by Unity during android compilation is too big. Each refers to all resources. So each package imported to increase the fields references count which is limited to 65535 references.

Expected result: The for each imported package and the project should only refer to its own resources.

Reproduced on: 5.5.0b5, 5.4.1f1, 5.3.6p4

Note: Similar problem is also discussed in

Comments (1)

  1. F52b970965bd415b60eab1bbb59e669d?d=mm


    Jul 14, 2017 18:10

    In the Unity 5.6.1 patch notes (, there is this comment on Gradle:
    Android: Buildpipe - Fixed the user resources library build issues with Gradle.

    Is this a fix to this issue?

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.