![]() You can also remove/disable them through the same package manager. ![]() You can search for unused packages through your project's package manager. So, when you compile your build, this specific 3D physics package might increase your build size by 2-3 MB. Removing those packages might contribute a lot to lessening your build size.įor example, you might have created a game that has no use of 3D physics but you could have unknowingly imported a 3D physics package into your project. When you create your project in Unity for the first, the engine might import some extra packages in your project as default that might be of no use to you. You can open the editor.log file in any text editor and find Build Report which will provide you with all details of what assets are being compiled in your build with Unity. Doing this will open your editor.log file. You can check what assets are being compiled by clicking on the 3 dots in your Unity console window. To avoid this issue, you should check and remove all the leftover assets from development that aren't used in your game. When this happens, even though the specific picture isn't visible anywhere in your game, the Unity compiler thinks that you are using the image even if it is disabled and compiles the asset into its shared assets. For example, you might be using a playerholder.png image in your development phase, but later, you might have disabled that image's game object in your project. While in the development phase, you might use many assets for your project, which can be of no use later in the production. The first thing above everything else regarding game size is the use of assets like images, sounds, scripts and prefabs. Cleaning Up and Removing Unnecessary Assets
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |