- Home /
How to Merge Scene with Asset Server
When using the Asset Server to merge two *.unity files all objects in the Scene Hierarchy are deleted. The scene is completely empty.
I have attempted this on multiple machines with the same results.
There are no errors reported.
Reloading the scene does not restore the objects.
Is it possible to merge scene files using the Team Asset Server?
Has anyone else run into the problem I described?
Thanks!
Update
I found that I could actually look at the ascii version of the binary data. Here is what the entire *.unity file looks like after the merger:
------Import Settings------
fileFormatVersion: 2 guid:
78795650c5a382846aec1a18fa02dc85
DefaultImporter: userData:
And here is what the start and end of the file looked like prior to the merger (I cut out most of the class information since it is so large):
External References
path(1): "" GUID: 14d60005759392b4281aad810b481184 Type: 2
path(2): "library/unity default resources" GUID: 0000000000000000e000000000000000 Type: 0
path(3): "" GUID: 24fe1ba96498c074dabc1d2de27053fb Type: 2
ID: 1 (ClassID: 29) SceneSettings
m_ObjectHideFlags 0 (UInt32)
m_PVSData (vector)
size 0 (SInt32)
m_QueryMode 1 (UInt32)
m_PVSObjectsArray (vector)
size 0 (SInt32)
m_PVSPortalsArray (vector)
size 0 (SInt32)
m_OcclusionBakeSettings (OcclusionBakeSettings)
viewCellSize 1 (float)
bakeMode 2 (UInt32)
memoryUsage 10485760 (UInt32)
ID: 2 (ClassID: 104) RenderSettings
m_Fog 0 (bool)
m_FogColor (0.5 0.5 0.5 1) (ColorRGBA)
m_FogMode 3 (int)
m_FogDensity 0.01 (float)
m_LinearFogStart 0 (float)
m_LinearFogEnd 300 (float)
m_AmbientLight (0.2 0.2 0.2 1) (ColorRGBA)
m_SkyboxMaterial (file 0 path 0) (PPtr<Material>)
m_HaloStrength 0.5 (float)
m_FlareStrength 1 (float)
m_HaloTexture (file 0 path 0) (PPtr<Texture2D>)
m_SpotCookie (file 0 path 0) (PPtr<Texture2D>)
m_ObjectHideFlags 0 (UInt32)
...
ID: 1926196053 (ClassID: 124) Behaviour
m_ObjectHideFlags 0 (UInt32)
m_PrefabParentObject (file 0 path 0) (PPtr<EditorExtension>)
m_PrefabInternal (file 0 path 0) (PPtr<Prefab>)
m_GameObject (file 0 path 1926196048) (PPtr<GameObject>)
m_Enabled 1 (UInt8)
------Import Settings------
fileFormatVersion: 2
guid: 78795650c5a382846aec1a18fa02dc85
DefaultImporter:
userData:
Your answer
Follow this Question
Related Questions
Team License - Scene Merging? 0 Answers
Unity 3.0 and scene merging capabilities 2 Answers
Multiple developers working on the same scene 2 Answers
Unable to merge two projects 1 Answer
Get dirty state from a scene 3 Answers