• 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

Destroygameobject

Cancel

Cancel

Unanswered Questions

  • All Questions
avatar image

Creatom_Games commented

Pass nothing inside OnTriggerEnter2D(Collider2D other)

Nov 5, '18 in Help Room

0 Replies

0 Votes

avatar image

miguelrmonreal asked

i'm working on a 2D shooting game but my arrow just goes right through the enemy.

Oct 12, '18 in Help Room

0 Replies

0 Votes

avatar image

haroldgeronimo asked

Destorying gameobjects on a network

Sep 21, '18 gameobject·networking·destroy·destroygameobject

0 Replies

0 Votes

avatar image

hexagonius commented

Best way to render GameObjects?

Jul 18, '18 optimization·destroygameobject

0 Replies

0 Votes

avatar image

willburbidge123 edited

Objects getting destroyed in unity test, but only sometimes in the phone app

May 21, '18 in Help Room

0 Replies

0 Votes

avatar image

Bakudan edited

Unity Stop/Freeze when Destroying+reloading a lot of GameObjects, solution ?

May 12, '18 in Help Room

0 Replies

0 Votes

avatar image

Me4tWag0n edited

Trying to script random tumbleweeds rolling across game background

Apr 7, '18 in Help Room

0 Replies

0 Votes

avatar image

Ninjix3 commented

Wave Spawn Script not working? From Null to Destroy Object.

Mar 11, '18 in Help Room

0 Replies

0 Votes

avatar image

KOWAY edited

I want to destroy PlayerObject, So I can not do anything because of this error.Error content: Destroying assets is not permitted to avoid data loss. If you really want to remove an asset use DestroyImmediate (theObject, true);

Mar 6, '18 in Help Room

0 Replies

0 Votes

avatar image

Fireatwill35 asked

[2D] Freezing all constraints also destroys gameobject

Feb 8, '18 in Help Room

0 Replies

0 Votes

avatar image

Inblinder commented

OnMouseDown() function

Feb 6, '18 c#·onmousedown·destroygameobject

0 Replies

0 Votes

avatar image

dadedas asked

how can i destroy the object when life get 0?,how can i destroy a object when life get 0?

Feb 5, '18 in Help Room

0 Replies

0 Votes

avatar image

plasticadmiral413 edited

destroying instantiated prefab loaded to 2D list

Jan 19, '18 in Help Room

0 Replies

0 Votes

avatar image

bbenoit2 commented

Can't destroy my bullet

Oct 5, '17 collision·destroygameobject

0 Replies

0 Votes

avatar image

SaraCecilia published

How to apply OnBecameInvisible

Aug 11, '17 in Help Room

0 Replies

0 Votes

avatar image

VandalPwoof asked

OnCollisionEnter fails to destroy Player GameObject

Aug 9, '17 in Help Room

0 Replies

0 Votes

avatar image

vikingallday1 published

How do I make one object appear after my Player collides with another object?

Jun 12, '17 in Help Room

0 Replies

0 Votes

avatar image

Liam_B asked

Generated AssetBundle only works when created within same Unity Project?

Mar 30, '17 in Help Room

0 Replies

0 Votes

avatar image

AttentionHorse edited

How do I destroy a GameObject by activating a nearby particlesystem.

Mar 19, '17 in Help Room

0 Replies

0 Votes

avatar image

Kaleopix published

Spawn and destroy gameObject by tag

Jan 22, '17 in Help Room

0 Replies

0 Votes

avatar image

KingBubba published

GameObject.Destroy(gameObject); Not Working?

Dec 26, '16 in Help Room

0 Replies

0 Votes

avatar image

tiagorpg commented

Destroy(gameObject) not working

Dec 20, '16 destroygameobject

0 Replies

0 Votes

avatar image

Fdudka asked

Normal Destroy Method is calling over Network!!!!!

Nov 29, '16 in Help Room

0 Replies

0 Votes

avatar image

CrizzieBabe asked

I am trying to destroy an object by obtaining the Axe, however the script only returns the debug "Axe is unequipped". Please help

Nov 11, '16 in Help Room

0 Replies

0 Votes

avatar image

Cynikal commented

Destroying assets is not permitted to avoid data loss?

Nov 6, '16 prefab·destroy·assets·clone·destroygameobject

0 Replies

0 Votes

avatar image

OusedGames commented

Destroy object destroys affects other objects?

Oct 19, '16 2d·player·bugs·destroygameobject·zombies

0 Replies

0 Votes

avatar image

Bonfire-Boy edited

Can you destroy an object using GetInstanceID?

Aug 30, '19 c#·destroy·destroy object·destroygameobject·getinstanceid

0 Replies

1 Votes

avatar image

TheRockIng published

Cannot seem to keep an object how it was when reloading a level (Unity2D)

Sep 14, '16 destroygameobject

0 Replies

0 Votes

avatar image

Firelights published

UI Object is there but can't destroy it.

Jul 21, '16 ui·destroy·destroygameobject·destroy-clones

0 Replies

0 Votes

avatar image

brenolimaa96 commented

Destroy 2D Objects when in contact

May 2, '16 destroy·oncollisionenter·destroygameobject

0 Replies

0 Votes

  • ‹
  • 1
  • 2
  • 3
  • ›

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.

Related Topics

destroy destroy object c# gameobject collision instantiate 2d scripting problem trigger 2d game prefab collider2d ontriggerenter raycast destroy-clones instantiate prefab spawning unity 2d tag object collision2d collider error gameobjects collision detection


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