Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • 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 sharat · Jul 05, 2011 at 10:18 PM · prefabchangedata

Prefab keeps changing when I run the scene

So I'm trying to keep everything as modular as possible to prevent unnecessary conflicts when people are working on different stuff. The problem is that every once in a while when I test a scene in the editor, a couple of the prefabs get changed.

I was curious what was causing this, so I ran the binary2text tool on the prefabs from before and after. The only changes I saw was a reordering of a couple of objects in the DataTemplate section. Upon further investigation it looks like all the moved items seem to refer to pairs of Mesh Filters and Renderers.

Here's a copy of the changed part of the prefab-to-text file.

 ID: 100100000 DataTemplate
     m_LastMergeIdentifier 7d6a2d7a08462e94c93332af9342c1ba (GUID)
     m_Objects  (set)
         size 22 (SInt32)
         data (file 0 path 100000) (PPtr<EditorExtension>)
         data (file 0 path 100008) (PPtr<EditorExtension>)
         data (file 0 path 100006) (PPtr<EditorExtension>)
         data (file 0 path 100004) (PPtr<EditorExtension>)
         data (file 0 path 100002) (PPtr<EditorExtension>)
         data (file 0 path 11400000) (PPtr<EditorExtension>)
         data (file 0 path 400000) (PPtr<EditorExtension>)
         data (file 0 path 3300000) (PPtr<EditorExtension>)
         data (file 0 path 6500000) (PPtr<EditorExtension>)
         data (file 0 path 2300000) (PPtr<EditorExtension>)
         data (file 0 path 400008) (PPtr<EditorExtension>)
         data (file 0 path 400004) (PPtr<EditorExtension>)
         data (file 0 path 400002) (PPtr<EditorExtension>)
         data (file 0 path 400006) (PPtr<EditorExtension>)
         data (file 0 path 3300008) (PPtr<EditorExtension>)
         data (file 0 path 2300008) (PPtr<EditorExtension>)
         data (file 0 path 3300004) (PPtr<EditorExtension>)
         data (file 0 path 2300004) (PPtr<EditorExtension>)
         data (file 0 path 3300002) (PPtr<EditorExtension>)
         data (file 0 path 2300002) (PPtr<EditorExtension>)
         data (file 0 path 3300006) (PPtr<EditorExtension>)
         data (file 0 path 2300006) (PPtr<EditorExtension>)
 
     m_Father (file 0 path 0) (PPtr<DataTemplate>)
     m_IsDataTemplate 1 (bool)
     m_ObjectHideFlags 1 (UInt32)
     m_ExtensionPtr (file 0 path 100100001) (PPtr<EditorExtensionImpl>)
     m_Name "New Prefab" (string)

The last 8 values in the m_Objects were reordered as follows

  1. 3300008 -> 3300004

  2. 2300008 -> 2300004

  3. 3300004 -> 3300006

  4. 2300004 -> 2300006

  5. 3300002 -> 3300002

  6. 2300002 -> 3300002

  7. 3300006 -> 3300008

  8. 2300006 -> 2300008

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.

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

Display one of prefab child 1 Answer

How to create a deep copy of a Prefab? 1 Answer

Is it possible to alter the files of a build when running the built application and safe that data for next execution? 1 Answer

How to change material of the active object? 1 Answer

How to instantiate a prefab and change its color? 5 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges