• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by mhughson · Sep 04, 2012 at 11:47 PM · scenemergeteamsource-controlassetserver

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: 
Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

7 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image

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

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges