How do I package only the ones used in the scene?

When publishing, the files in the project will be packaged out, and those assets that are not used will also be packaged in it, so that the ZIP package will be large, load time will increase.

How do I package only the ones used in the scene?

If you are talking about the loading time of published game, that depends on the size of the assets which are going to be loaded before the game start. Just untick the preload button of assets that are of no use. It will not count in the loading time then.

Also you can check the each asset loading time in the network tab of inspect element.

Hi @chuxinhao,

Sadly that isn’t possible right now, the build will include all the assets uploaded in your project even if their preload flag is set to false.

It would be good to have a flag of whether to include an asset to the final build. You can submit a feature request on the engine repo about it: