I am building a simple 3D game and I am trying to make it as small as possible.
Currently I loading most of the 3D models (like characters) from an AssetBundle
that I have created.
The problem is when I try to compress a scene (with its baked data, like occlusion culling) to AssetBundle
I get the following error: "Cannot mark assets and scenes in one AssetBundle".
How can I do it?
currently for compressing the models I am using the BuildPipeLine
and the AssetBundleBuild
classes.
I have found that link but it didn't help.
Also found the function BuildPipeLine.BuildStreamedSceneAssetBundle
but it is deprecated…