Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 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
3
Question by Shashimee · Jun 03, 2018 at 12:51 PM · prefabprefab-instancelinkupgrading

"Unable to instantiate prefab. Prefab may be broken"

Hey there ! I just upgraded my project from 2017.3 to 2018.1 and now all of my scenes are broken (missing prefab for every object) and when I try to drag'n drop a prefab into the scene I get the following error :

"Unable to instantiate prefab. Prefab may be broken. UnityEditorInternal.InternalEditorUtility:HierarchyWindowDrag(HierarchyProperty, Boolean, HierarchyDropMode) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)"

So my scenes are broken and I can't add any prefab ... Any idea ?

Comment
Add comment · Show 7
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
avatar image Prog_X · Jun 25, 2018 at 09:20 PM 0
Share

I just had the same problem actually, and I don't know what to do. Whenever I try to drag the prefab to the hierarchy on 2018.1 I get that message.

avatar image padma1509 · Jun 30, 2018 at 04:50 PM 0
Share

I am having the same issue... I upgraded to unity 2018 , as want to use unity inbuilt Text$$anonymous$$esh Pro. and updated all UI, however now my prefab is not working as it suppose to, having same error as mention. Prefeb is too complex as its a player and enemy with animation, AI and UI... will be pain to recreate same :( is ther any solution to fix it... please help...

avatar image Andergraw · Jul 31, 2018 at 04:04 PM 0
Share

Same page... Any thought? I've already tried to export from U2018 but no luck.

avatar image Andergraw Andergraw · Aug 01, 2018 at 09:11 AM 0
Share

I know this is probably useless for most of the people but...since I still had installed Unity 2018 and a its version of the project, I opened it, broke all prefab's instances and saved. Then in Unity 2017 I opened that version and recreated all the prefabs (hopefully they were just a few and I had them all in my scenes). Still waiting for an answer though.

avatar image Elvenn · Aug 01, 2018 at 07:48 AM 0
Share

Same problem here

avatar image DevilCult · Aug 02, 2018 at 04:25 AM 0
Share

I get this problem often its so annoying. I downloaded an asset other day and tried it. Everything went fine and i didnt touch that asset folder in my project since then was working on something else. Then i come back couple days or week later and try to place a prefab on the scene bam broken. Nothing changed at all. Unity often randomly give bug like this using 2018.1.1f1. It happened with many other asset. When its not its a script in my scene that get unlinked for some reason. I think i lost a whole week since 2 month trying to figure out bugs that was related to broken prefabs or missing script that randomly appear. Is there a known unity version working at best? Im gonna give it a try.

Show more comments

7 Replies

· Add your reply
  • Sort: 
avatar image
10
Best Answer

Answer by qcbf1 · Oct 01, 2018 at 10:33 AM

  1. open *.Prefab in Text Editor (need modify unity editor setting)

  2. change text "m_SourcePrefab" to "m_ParentPrefab"

  3. change text "m_IsPrefabAsset" to "m_IsPrefabParent"
    it ok, try.
    if your unity other version, can you create empty GameObject then compare difference.

alt text


a.jpg (69.7 kB)
Comment
Add comment · Show 3 · Share
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
avatar image memphis_4 · Oct 05, 2018 at 01:24 PM 0
Share

Works for me. Thank you

avatar image XXFS · Nov 01, 2018 at 03:39 AM 0
Share

It works, thank you

avatar image ilovecookieee · Mar 25, 2019 at 06:56 AM 0
Share

Thank you!

avatar image
5

Answer by ragnarokyt179 · Feb 14, 2019 at 02:36 PM

hey Guys! the solution for that is (Right click on the prefab and then hit Reimport)

Comment
Add comment · Show 3 · Share
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
avatar image ziadgapp · Mar 10, 2019 at 10:22 PM 0
Share

Bro, you have no idea how many hours of work you just saved me. Thank you very very much, you're a hero!

avatar image resequenced · Apr 05, 2019 at 10:12 AM 0
Share

I'm with ziadgapp! Thanks so much, this has really helped.

avatar image Edy · Apr 21, 2019 at 03:33 PM 0
Share

THIS is the correct answer. Thank you!

avatar image
4

Answer by Fragmental · Aug 21, 2018 at 11:10 PM

So, 2018.2 made some changes to prefabs that break things when you try to downgrade. I've found two solutions, but I've only tried the first.

No matter what you do, make sure you've backed up your project first.

Solutions

  1. Break the prefabs in the 2018.2+, in your scene. SAVE your scene. Then open that scene in the older Unity version (either by exporting and importing, or by copying your project or files). The prefabs that are in the scene, that you broke the connection should still work. You can break a prefab in the "GameObject" menu after selecting a prefab. There's some more info here https://answers.unity.com/questions/1502308/missing-prefabs-after-downgrading-from-unity-20182.html

  2. You can try modifying the files themselves from the console as outline here https://www.reddit.com/r/Unity3D/comments/8gl8og/downgrading_from_unity_201820b2_to_unity_201810f2/

Be aware that other things may break also, when downgrading(which is my problem, right now).

Comment
Add comment · Show 1 · Share
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
avatar image abssuper20 · Jun 18, 2019 at 03:40 AM 0
Share

Breaking the prefab worked!! THanks. This process is way better than replacing those words in the ".prefab" file unless you know the proper find and replace command.

avatar image
1

Answer by Bunny83 · Aug 02, 2018 at 07:22 AM

This is most likely the same issue as in this question over here. The problem is that Unity seems to have changed it's prefab serialization format and didn't make it backward nor forward compatible. It's mainly a rename of some fields. If you use text serialization you could rename those fields yourself. However i strongly recommend you create a backup of your project.


Also if you can verify that this is the problem, please file a bug report with as many details possible. So create a new standalone project where you copy that offending prefab to and attach that project to the bugreport. The more people verifying the issue, the faster this may be fixed.


As a general advice: If you are in the middle of a production, do not upgrage Unity. Even Unity doesn't recommend it.

Comment
Add comment · Share
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
avatar image
0

Answer by RadonRaph · Jun 03, 2018 at 03:11 PM

If you have make a backup you can download unity hub and run your project with Unity 2017.3.

Comment
Add comment · Show 2 · Share
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
avatar image Shashimee · Jun 03, 2018 at 08:52 PM 1
Share

I have no backup and I want to keep using Unity 2018.1.

avatar image Bunny83 Shashimee · Aug 02, 2018 at 07:27 AM 0
Share

When you upgraded the Unity editor it warned you that it is going to upgrade your project and asked you if you have created a backup. You clicked "yes". If you don't actually have a backup you are the only one to blame.

  • 1
  • 2
  • ›

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

125 People are following this question.

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

Related Questions

Collision doesn't work with prefabs 0 Answers

Animation controller attached to prefab instance doesn't work 0 Answers

Possible to make "override all" button on prefab instances ignore certain values (like it does for position)? 0 Answers

Problem when setting variable in an instantiated gameobject 0 Answers

Prefabs spawn with wrong values 0 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