Packaging AssetBundle slows down after Unity upgrade

1) The packaging of AssetBundle slowed down after Unity was upgraded.
2) The packaging caused some resources to be synthesized into a resource data.unity3d, and some were separated.
3) Unreal cannot use the Stat command to obtain GPU Thread time-consuming on mobile devices.
4) In Unity How to see the culling results within the camera field of view


This is the 330th UWA technical knowledge sharing push, which selects hot topics in the UWA community, covers UWA Q&A, community posts and other technical knowledge points, to help everyone master and learn more comprehensively.

AssetBundle

Q: Recently upgraded to 2021, I encountered a strange problem. I opened the AssetBundle package, the previous speed was normal, but it became very slow when I entered the scene, I don’t know why it stopped for 1 minute between every 2 scenes, dozens of scenes, the total AssetBundle package is less than 20MB, and I played 1 For half an hour, if I only play these scenes, the speed is normal, and it is very slow when the AssetBundle package is fully played.

A: You can try to use Scriptable Build Pipeline to package. You can see the json file in the output directory. You can open this file with Perfetto to see the time-consuming information.
Build Logging | Scriptable Build Pipeline | 1.18.0

This question and answer is provided by UWA, welcome to the community exchange


Build

Q: Why are some of the packaged resources synthesized into a resource data.unity3d, and some are separated?

A1: You can check whether it is caused by the following settings:

Thanks to Fan Shiqing@UWA Q&A Community for providing answers

A2: It is recommended to use the LZ4 compression method. AUP must use the LZ4 compression method for uploading textures, and TextureStreaming also relies on the LZ4 compression method.

Thanks to Xuan@UWA Q&A community for providing answers


Unreal

Q: I enter the Stat Unit command on the mobile device Android, and the result shows:

Frame:42.33ms
Game:24.22ms
Draw:42.22ms
RHIT:25.00ms
Mem:1.96GB
Draws:496
Prims:545.33KB

Why is there no GPU time-consuming display? What could be the reason?

In response to the above questions, experienced friends are welcome to go to the community to exchange and share:
UWA Q & A | Game Developer Interactive Q & A Community | Yuhu Technology


Rendering

Q: How to see objects within the camera's field of view in Unity? Similar to Unreal Engine's FreezenRendering function, it is convenient and fast to locate the frustum culling.

In response to the above questions, experienced friends are welcome to go to the community to exchange and share:
UWA Q & A | Game Developer Interactive Q & A Community | Yuhu Technology

The cover image comes from the Internet


That's all for today's sharing. Of course, there is no limit to life but no limit to knowledge. In the long development cycle, these questions you see may be just the tip of the iceberg. We have already prepared more technical topics on the UWA Q&A website, waiting for you to explore and share together. You who love progress are welcome to join, maybe your method can solve the urgent needs of others; and the "stone" of other mountains can also attack your "jade".

Official website: www.uwa4d.com
Official Q&A community: answer.uwa4d.com


 

Guess you like

Origin blog.csdn.net/UWA4D/article/details/129946811