• 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

Fixes in upcoming releases of Unity Answers

Using a good tone of voice when replying to posts

Requests for new tags/topics

How to use the META space

How to use the Moderator space

Questions in topic: prefabutility

  • Unanswered Questions
  • Recommended Questions
Once you sign in you will be able to subscribe for any updates here
avatar image

juschu commented

Safely deleting a child of a prefab

Nov 10, '17 editor·prefab·child·prefabutility

1 Reply

14 Votes

avatar image

Tulsisvt commented

Can anyone help with creating Prefabs for procedural meshes

May 31, '17 mesh·prefab·assetdatabase·prefabutility

1 Reply

2 Votes

avatar image

edwardrowe answered

PrefabUtility - Check if Changes have been made to Prefab?

Aug 31, '16 prefab·editor-scripting·editorwindow·modify·prefabutility

3 Replies

2 Votes

avatar image

CommanderThrawn answered

PrefabUtility.CreatePrefab() results in "not a valid asset file name" error?

Dec 10, '16 in Help Room

2 Replies

0 Votes

avatar image

bourriquet commented

Apply prefab change though script without loosing reference

Apr 2, '18 prefab·editor scripting·prefabutility

1 Reply

3 Votes

avatar image

BG_Grill answered

Can I create a child gameobject on a prefab with an editor script

Oct 19, '21 editor·prefab·editor-scripting·prefabutility

2 Replies

0 Votes

avatar image

alexisrabadan commented

Need to make a reference in a prefab to itself not to the created instance

Oct 14, '15 editor·prefab·prefabutility

2 Replies

3 Votes

avatar image

Xtro commented

How to check if an object is asset in build runtime (Not in Editor) ?

Feb 20, '19 prefab·assetdatabase·prefabutility

4 Replies

0 Votes

avatar image

numberkruncher edited

Why does CreateEmptyPrefab return null?

Apr 13, '13 editor·prefab·unityeditor·prefabutility

1 Reply

0 Votes

avatar image

Carocrazy132 edited

Create prefab from model in AssetPostprocessor without losing mesh connections?

Feb 21, '20 in Help Room

3 Replies

0 Votes

avatar image

tonycoculuzzi edited

Unity 4 PrefabUtility.InstantiatePrefab problem in OnPostprocessModel

Dec 5, '13 prefab·unity 4·prefabutility

0 Replies

2 Votes

avatar image

PedrasWebAvenue published

PrefabUtility.RevertPrefabInstance() not working

May 23, '19 in Help Room

2 Replies

0 Votes

avatar image

Grish_tad edited

PrefabUtility.CreatePrefab fails if prefab already exists

Nov 17, '17 unityeditor·prefabs·prefabutility

1 Reply

0 Votes

avatar image

immortalstudio202 published

2018.3 prefabUtility changed : how to get prefab from an instance in the scene

Jul 10, '19 prefab-instance·prefabutility

2 Replies

0 Votes

avatar image

Mayoeruronin edited

How do you Create Prefabs in Script on import.

Jan 16, '13 prefab·importing·prefabutility

0 Replies

0 Votes

avatar image

dan_wipf answered

The name 'PrefabUtility' does not exist in the current context

Apr 15, '19 in Help Room

1 Reply

0 Votes

avatar image

scone asked

Should I be able to cast the result of PrefabUtility.GetPrefabObject() to a GameObject?

May 31, '13 prefab·prefabutility

0 Replies

1 Votes

avatar image

fabio_fig answered

How to find the prefab base of a Prefab Variant through code?

Sep 22, '20 prefab·prefabs·prefabutility

1 Reply

0 Votes

avatar image

Bunny83 answered

PrefabUtility android

Aug 10, '17 android·error·build·prefabutility

1 Reply

0 Votes

avatar image

stanislavdol edited

PrefabUtility.ReplacePrefab trouble

Jul 30, '14 gameobject·prefab·runtime·prefabutility

0 Replies

0 Votes

avatar image

salamander555 answered

Editor Script: Linking GameObjects to public script variables resets when playing.

Aug 3, '17 editor·instantiate·prefab·editor-scripting·prefabutility

1 Reply

0 Votes

avatar image

pmerilainen asked

PrefabUtility.ApplyPrefabInstance throws error when there is Script that does not directly derive on MonoBehaviour

May 22, '19 prefab·prefabs·bug-perhaps·monobehaviour·prefabutility

0 Replies

0 Votes

avatar image

winxalex answered

Why is PrefabUtility.IsPartOfAnyPrefab(gameObject) returning false even though the object is a prefab?

Nov 3, '19 prefab·editor-scripting·prefabutility

1 Reply

0 Votes

avatar image

unity_qT8Y9osPinb1jA answered

Prefabutility.instantiateprefab returns null SOMETIMES.

Mar 10, '22 in Help Room

2 Replies

1 Votes

avatar image

Meceka answered

Revert Prefab property override through script

Mar 25, '22 prefabutility

2 Replies

2 Votes

avatar image

Darkgaze commented

Cloning a GameObject with Linked Prefab Children

Apr 12, '22 prefabs·prefabutility

1 Reply

0 Votes

avatar image

FredTuna commented

Modify Prefab Asset in OnValidate

Jan 17, '20 prefab·prefabutility

2 Replies

1 Votes

avatar image

DarkBoroda commented

PrefabUtility.LoadPrefabContentsIntoPreviewScene states that it returns a GameObject, signature is void.

Oct 17, '20 in Help Room

1 Reply

3 Votes

avatar image

SlamaBilliken commented

Reparenting object in prefab breaks object

Dec 9, '19 prefabs·prefabutility

3 Replies

0 Votes

avatar image

elwhywhy published

cannot load GameObject Prefabs using Resources.Load in Android

Dec 20, '16 android·prefab·assetdatabase·prefabutility·loadassetatpath

0 Replies

0 Votes

  • 1
  • 2
  • ›

Welcome to Unity Answers

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow This Topic

Follow This Topic

Follow by RSS

No one has followed this topic yet.

Popular Topics

c# animation android unity 5 camera 2d rotation javascript scripting problem collision ui gui error shader movement gameobject physics rigidbody editor ios texture networking raycast instantiate collider transform terrain mesh prefab input
View all

Recent Badges

  • Famous Question   $$anonymous$$
  • Great Answer   Moonisa
  • Famous Question   tomtominc
  • Popular Question   maruudn
  • Notable Question   BarisUckardes
  • Notable Question   juncube2006
  • Notable Question   Sinterklaas
  • Editor   Rocket-Turtle
  • Notable Question   existing-studio
  • Teacher   Tioboon


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