Topic: error on getting texture asset

Hi Alex,

Getting following error while packaging the solution using Unity 2018.1

file size of 5.46 GB (5866257756 bytes) exceeds maximum. File name: 'E:/Unity_Terrain/Unity_Terrain/Temp/StagingArea/Data/sharedassets0.assets'.  Serialized files over 4.00 GB (4294967295 bytes) cannot be loaded by the player.  Some likely ways to reduce this are utilizing asset bundles, re-balancing asset locations, or limiting their serialized size e.g. limiting the maximum texture sizes.
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)




regards,
Jai

Re: error on getting texture asset

Hello.

Please tell me more about your scene and RWT settings you are using.

In general, this error means that your scene contains too much serialized data.
Try to split it into multiple scenes / terrains.

Kind Regards,
Infinity Code Team.

uContext is Editor PowerPack (more than 50 tools) that take your workflow in Unity Editor to a next level, simplifies working with content, adds new features, corrects and improves the editor’s built-in behaviors. Click here to download uContext Basic for free.

3 (edited by jaisingla 2021-07-28 11:57:01)

Re: error on getting texture asset

hi,

I have created multiple scenarios in one scene ?

kept terrain count x:5  z:5
scale x:0.01, y:0.01, z:0.01
heightmap resolution 1025

texture height and width 8192
quality 100

scene is quite big 30.2 to 30.6 and 79.5 to 79.8
I suspect error in this bigger scene

regards,
Jai

Re: error on getting texture asset

Try to split your terrains and objects into separate scenes and load them as needed.
If you have programming experience you can easily implement this.
Or you can automate this using WorldStreamer asset.

Kind Regards,
Infinity Code Team.

uContext is Editor PowerPack (more than 50 tools) that take your workflow in Unity Editor to a next level, simplifies working with content, adds new features, corrects and improves the editor’s built-in behaviors. Click here to download uContext Basic for free.

Re: error on getting texture asset

Hi Alex,

I got world streamer asset.. pls guide me how to do that for entire scene where I have generated multiple terrains using RWT

Re: error on getting texture asset

Please see WorldStreamer documentation.
I last used this asset a few years ago, and I don’t remember exactly which fields need to be filled in.
I just remember that it was very simple.
Also, I was using WorldStreamer, and the actual version is WorldStreamer 2, which I don't have and haven't tested.

Kind Regards,
Infinity Code Team.

uContext is Editor PowerPack (more than 50 tools) that take your workflow in Unity Editor to a next level, simplifies working with content, adds new features, corrects and improves the editor’s built-in behaviors. Click here to download uContext Basic for free.

Re: error on getting texture asset

Hi Alex,

I tried to use Dvornik's split stream but problem is persisting.

I have worldStreamer too.

No viable option is working.

pls suggest some way out.

regards,
Jai

Re: error on getting texture asset

Pls suggest the settings for successful build too...

Re: error on getting texture asset

Unfortunately, I do not know your project and what settings and objects it has, so it is difficult for me to give any recommendations here.
Try to smoothly reduce the size of the settings to make the project size less than 4gb.
For example start by reducing the texture size to 4096.

Kind Regards,
Infinity Code Team.

uContext is Editor PowerPack (more than 50 tools) that take your workflow in Unity Editor to a next level, simplifies working with content, adds new features, corrects and improves the editor’s built-in behaviors. Click here to download uContext Basic for free.