06-03-2020, 11:41 PM
Is there any way to avoid writing Obi data to the scene file? It's bloating my scene file and the Unity YAML merge tool cannot deal with the file across version control i.e.) it cannot resolve conflicts.
Help Avoid writing Obi data to scene file
|
06-03-2020, 11:41 PM
Is there any way to avoid writing Obi data to the scene file? It's bloating my scene file and the Unity YAML merge tool cannot deal with the file across version control i.e.) it cannot resolve conflicts.
08-03-2020, 11:48 AM
(06-03-2020, 11:41 PM)local306 Wrote: Is there any way to avoid writing Obi data to the scene file? It's bloating my scene file and the Unity YAML merge tool cannot deal with the file across version control i.e.) it cannot resolve conflicts. Obi 5.0 and up does no longer store actor data in the scene. Instead, separate assets (known as ‘blueprints’) are used, and can be shared across multiple actor instances. This was designed to solve the exact problem you have, and a few related others. Consider updating to the latest version. Keep in mind that 5.x is only compatible with unity 2019.
09-03-2020, 05:52 PM
(08-03-2020, 11:48 AM)josemendez Wrote: Obi 5.0 and up does no longer store actor data in the scene. Instead, separate assets (known as ‘blueprints’) are used, and can be shared across multiple actor instances. This was designed to solve the exact problem you have, and a few related others. I am using Obi 5.1 in Unity 2019.2.16f1. There is something writing a tonne of vert data to the scene file for an element using Obi cloth. When I get rid of the Obi actor and save the scene, my file size goes from 111 MB to 220 KB.
09-03-2020, 06:10 PM
(This post was last modified: 09-03-2020, 06:14 PM by josemendez.)
(09-03-2020, 05:52 PM)local306 Wrote: I am using Obi 5.1 in Unity 2019.2.16f1. There is something writing a tonne of vert data to the scene file for an element using Obi cloth. When I get rid of the Obi actor and save the scene, my file size goes from 111 MB to 220 KB. Hi, The only serialized fields in ObiCloth are the properties exposed in the inspector - a few booleans and floats- and a list of particle indices (one integer per particle). The cloth renderer only serializes a enum. No vertex/mesh/constraint/particle data is serialized by either. While it could be that the particle indices list of your object is so huge that it takes up 111 Mb, it's very unlikely. I opened up a scene with a single cloth object in it, here's what the serialized version looks like: Code: MonoBehaviour: The renderer: Code: MonoBehaviour: Could you share your scene? If possible, send it to support(at)virtualmethodstudio.com so that we can take a look at it. |
« Next Oldest | Next Newest »
|