• 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

Prefabutility

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

ugurgokzirve asked

How do I change the name of the prefab in the prefab folder with code?

Dec 20, '20 prefab·editor-scripting·asset·prefabutility

0 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

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

badfitz66 asked

Instantiating a prefab via PrefabUtility.InstantiatePrefab causes prefab to lose all references on it's scripts.

Aug 5, '20 editor-scripting·prefabs·instantiate prefab·prefabutility

0 Replies

0 Votes

avatar image

smark12007 edited

Cloning a GameObject with Linked Prefab Children

Jul 23, '20 prefabs·prefabutility

1 Reply

0 Votes

avatar image

batshevagirl asked

Does my script have a memory leak ?

Jun 4, '20 c#·prefab·exception·memory leak·prefabutility

0 Replies

0 Votes

avatar image

AltaVR commented

Prefab as a subasset of a ScriptableObject

May 8, '20 asset·scriptableobject·assetdatabase·prefabutility

0 Replies

2 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

Captain_Pineapple commented

How can I destroy a gameobject that is part of a prefab ?

Feb 16, '20 c#·prefab·destroy object·prefab-instance·prefabutility

0 Replies

0 Votes

avatar image

FredTuna commented

Modify Prefab Asset in OnValidate

Jan 17, '20 prefab·prefabutility

2 Replies

1 Votes

avatar image

SlamaBilliken commented

Reparenting object in prefab breaks object

Dec 9, '19 prefabs·prefabutility

3 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

Bunny83 commented

Prefabutility.instantiateprefab returns null SOMETIMES.

Oct 20, '19 in Help Room

1 Reply

1 Votes

avatar image

AMAT_Sooraj commented

Revert Prefab property override through script

Oct 16, '19 prefabutility

0 Replies

0 Votes

avatar image

MouseInBox edited

How to record all the components of a prefab when click the button "Apply"?

Sep 9, '19 in Help Room

0 Replies

0 Votes

avatar image

neevan123 published

is there any alternative method for prefab utility in builded apllication??,is there any alternative method for prefabutility in builded application??

Aug 5, '19 prefabutility

0 Replies

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

PedrasWebAvenue published

PrefabUtility.RevertPrefabInstance() not working

May 23, '19 in Help Room

2 Replies

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·monobehaviour·bug-perhaps·prefabutility

0 Replies

0 Votes

avatar image

KevRev commented

How to (in code) save a gameobject that already exists in my scene as a prefab? (c#) Closed

Apr 21, '19 c#·prefab·prefabs·prefabutility·editorutility

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

Totoro83y edited

Create a prefab in editor from children objects of a model without alter scene

Mar 18, '19 editor-scripting·prefabutility

0 Replies

0 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

RobAnthem commented

How exactly are prefabs tagged with PrefabAssetType enums?

Feb 20, '19 c#·editor-scripting·prefabutility

0 Replies

0 Votes

avatar image

IIlIIl asked

use PrefabUtility after build,PrefabUtility use after bulid

Nov 29, '18 prefabs·prefabutility

0 Replies

0 Votes

avatar image

SimpleSam commented

can't save data in prefab and getting an error while press "Apply" in prefab!

Apr 28, '18 in Help Room

0 Replies

0 Votes

avatar image

SimpleSam asked

can't save data in prefab and getting an error while press "Apply" in prefab!

Apr 27, '18 in Help Room

0 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

Grish_tad edited

PrefabUtility.CreatePrefab fails if prefab already exists

Nov 17, '17 unityeditor·prefabs·prefabutility

1 Reply

0 Votes

avatar image

juschu commented

Safely deleting a child of a prefab

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

1 Reply

14 Votes

  • 1
  • 2
  • ›

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.



Related Topics

prefab prefabs editor-scripting c# assetdatabase editor prefab-instance unityeditor prefab connection nullreferenceexception android gameobject instantiate asset instantiate prefab unity 4 loadassetatpath error apply destroyimmediate initialize inherit importing editorscript store
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges