SearchIssue Tracker

19

5.4.0f2

818258

No

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

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

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

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