Super Brief Anatomy of Unity Android Plugins Google Play Game Services, for example, is close to 25K methods on its own, a significant chunk of the 64K you are allotted. Unfortunately, some plugins are quite large. Android native plugins are a necessity for almost all Unity games. The most common way to hit this limit in Unity is through the use of native plugins. The most important takeaway is if you can manage to keep your game comfortably below this number, you will save yourself a lot of trouble. There’s no shortage of forum posts and blog entries on this subject. This post will attempt to walk you through the various ways to deal with it. The long and short of it is if your game taps against the 64K method limit per DEX file you’re going to need to get down and dirty with your native plugins and/or build workflow. Perhaps they did (I haven’t read the spec) and the blame falls on other elements in your toolchain. Ĭould you ever imagine a Unity Android game that used more than 64K Java methods? Neither could the architects of the Dalvik bytecode. This article was originally posted on Kongregate’s Developer Blog. Dealing with the 64K Method Limit in Your Unit圓D Game
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |