This is an English translation of a blog I wrote in Chinese in 2017. Although the original blog was a few years ago, I found this article very interesting, so I decided to translate it into English.
You can find the Github Repo Link at the end of this Post.
When displaying a realistic rural scene in a game, the rendering of grass is essential, and when it comes to efficient rendering of grass, many people will think of Chapter 7 of GPU Gems, “Chapter 7.
This post was first published at Medium
This is an English translation of a blog I wrote in Chinese in 2017. Although the original blog was a few years ago, I found this article very interesting, so I decided to translate it into English. 0x00 Introduction I think a lot of game developers hope that the more objects they can render in their scene, the better.
There is a common issue with sprite atlas and asset bundles before Unity 2018.4.6. That is, when using sprite atlas and asset bundle, the sprite atlas texture may be duplicated into other asset bundles. You can find the issue here. This article will discuss how to solve this issue.
The main content includes analyzing the memory management of the iOS system, using the Instrument to view the memory status of a Unity game, and using the command line tools to dig deep into the memory problems in a Unity game.
After Unity 2018.3, the new `Managed Stripping Level` option replaces the old `Stripping Level` option in the player settings. This new option is available for all platforms and both Mono and IL2CPP scripting backends. The main purpose of this feature is to reduce the size of the app by removing some unused code. It sounds great, but there is a potential side effect. How does Unity know which code is unused code?
I believe that many developers will have similar misunderstandings after seeing the name Mesh Compression. So this blog is about how to optimize Mesh in Unity to save memory, and why the Mesh Compression option is turned on, but it doesn't help memory.