The class ID is the number used to reference the type of class the object is - see Class ID reference documentation for more information. The ID number in this object is the index of the object in the Scene bundle. Each object in the text file will look something like this: This will produce a text file containing all of the serialized object information for objects included in the Scene bundle. This will extract the data to a folder called whatever your Scene bundle name is with _data appended (for example YourSceneBundleName_data).īinary2text YourSceneBundleName_data/BuildPlayer-SceneBundleName" First of all, run a change directory command to the directories above.Ĭd /Applications/Unity/Unity.app/Contents/Tools These are command line tools, and will need to be run from your command prompt or terminal window. Next use binary2text, which converts the Scene bundle into a human-readable format. Applications/Unity/Unity.app/Contents/Toolsįirst use WebExtract, which extracts the Scene bundle into an uncompressed data folder. You can find these tools in the following default install locations on each platform: You need to use two different tools found in the Unity installation to unpack a Scene bundle and find out exactly what is inside. Note: The below applies to installations of Unity 5.4 or later. This makes it difficult to find individual objects included in that serialized Scene object. This means that, when the Scene is added to a bundle, it is included as a serialized Scene object and is listed as. Scenes in Unity are treated as a collection of serialized objects before they are put into a bundle. You have a built Scene bundle that is larger than expected and need to understand why it’s the size that it is.You have a built Scene bundle but you are not sure what was included in the bundle.
0 Comments
Leave a Reply. |