• 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

Setactive

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

TheIrishKraken answered

How to get a reference to a game object that's disabled on awake?

May 18, '23 setactive·awake·inactive

1 Reply

0 Votes

avatar image

kkirvela asked

GameObject.SetActive() not working

Apr 15, '23 setactive·debugging

0 Replies

0 Votes

avatar image

awkwardfantasy published

Trying to get a game object to disapear, nothing seems to be working.,Trying to hide a game object, nothing seems to be working

Mar 31, '23 in Help Room

0 Replies

0 Votes

avatar image

purplepickard asked

GameObject.SetActive(true) not working on a button click

Mar 1, '23 in Help Room

0 Replies

0 Votes

avatar image

ajwhithaus asked

I am trying to get my gameobject to appear when I make my box gameobject invisble?

Feb 27, '23 in Help Room

0 Replies

0 Votes

avatar image

logicandchaos commented

Error enabling or disabling object which isn't null

Feb 17, '23 error message·nullreferenceexception·setactive

0 Replies

0 Votes

avatar image

sleepyfunnyfish asked

Object spawning as disabled (fish networking)

Feb 10, '23 networking·spawning·disable·setactive·disabled

0 Replies

0 Votes

avatar image

Giobar97 commented

unity When I pick up an object from the ground, the object disappears. I want him to come back after a while.

Jan 25, '23 c#·gameobject·gameobjects·setactive

2 Replies

0 Votes

avatar image

Giobar97 answered

The object is lost when picking up an object from the ground. I want him to come back after a while.

Jan 24, '23 c#·ui·gameobject·setactive

1 Reply

0 Votes

avatar image

rwhalt answered

Chunks randomly deactivating

Jan 16, '23 gameobject·setactive·for-loop·foreach·activation

1 Reply

0 Votes

avatar image

joshnahamkes asked

My code works when i replace obj.setActive(true); with Debug.Log("hit"); How do i fix this?,This unity code works when i replace canvas.setActive(true); with Debug.Log("Hit"); Why?

Jan 4, '23 in Help Room

0 Replies

0 Votes

avatar image

joshnahamkes asked

My code works when i replace obj.setActive(true); with Debug.Log("hit"); How do i fix this?,This unity code works when i replace canvas.setActive(true); with Debug.Log("Hit"); Why?

Jan 4, '23 in Help Room

0 Replies

0 Votes

avatar image

JJPena edited

How do you call child in group of elements?

Nov 24, '22 setactive·child object·parent-child·object pool

3 Replies

0 Votes

avatar image

seymaple_unity published

Can enable object but can't disable object using ray_hit and trigger (Keypress)

Nov 10, '22 in Help Room

0 Replies

0 Votes

avatar image

Strogman answered

Getting around deferred Awake call from SetActive

Nov 2, '22 setactive·awake·constructors

2 Replies

3 Votes

avatar image

Max_Bol edited

Is it cheaper to deactivate a game object or change its alpha, or other?

Nov 1, '22 optimization·alpha·setactive·active

1 Reply

1 Votes

avatar image

TheGlitcherL00ney commented

How to setActive an Object form another scene? Help please.

Oct 31, '22 unity 5·scripting problem·object·scene-switching·setactive

2 Replies

0 Votes

avatar image

DJgray3D answered

Turn off everything else in Canvas

Oct 27, '22 in Help Room

3 Replies

0 Votes

avatar image

logicandchaos commented

GameObject not activating??

Oct 12, '22 gameobject·transform.position·setactive·active·spawning problems

0 Replies

0 Votes

avatar image

SurreyMuso answered

Animation cannot enable/disable gameobject, and prevents me from manually doing so.

Sep 29, '22 animation·animationclip·setactive

2 Replies

0 Votes

avatar image

rh_galaxy commented

Item status in Unity SetActive(true); when the particle system in the item is corrupted.

Aug 29, '22 bug·particles·particlesystem·setactive

0 Replies

0 Votes

avatar image

AzayGenius published

How to make all objects appear in order when user press the oculus remote button?

Aug 29, '22 in Help Room

0 Replies

0 Votes

avatar image

sugarcanefarmer edited

Why does Rigidbody.OnDisable() reset the velocity?

Jul 11, '22 rigidbody·rigidbody2d·setactive·reset·rigidbody.velocity

2 Replies

0 Votes

avatar image

NickandChips commented

OnCollisionEnter2D not calling certain lines of code

Jun 24, '22 collision·unity 2d·setactive

0 Replies

0 Votes

avatar image

Druder commented

error CS0029: Cannot implicitly convert type 'void' to 'bool',Error CS0029: Cannot implicitly convert type 'void' to 'bool'

Jun 20, '22 c#·error·setactive·bool·void

4 Replies

0 Votes

avatar image

onetimepad commented

gameObject.SetActive (true); Not working

Jun 16, '22 c#·ui·gameobject·gameobjects·setactive

10 Replies

2 Votes

avatar image

michaelchambers commented

Set Objects Child to Active/Inactive(Solved)

Jun 16, '22 javascript·setactive·child object·game object·enabled

5 Replies

4 Votes

avatar image

andrew-lukasik commented

Why isn't it switching the fireOn state to true

Jun 7, '22 in Help Room

0 Replies

0 Votes

avatar image

TheIrishKraken answered

SetActive function not working

May 15, '22 in Help Room

1 Reply

0 Votes

avatar image

True_Beef answered

HingeJoint stops working properly after disable/enable.

May 8, '22 c#·setactive·hingejoint

2 Replies

1 Votes

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›
  • »

Followers

avatar image

Update about the future of Unity Answers

Unity Answers content will be migrated to a new Community platform and we are aiming to launch a public beta later in June. Please note, we are aiming to set Unity Answers to read-only mode on the 31st of May in order to prepare for the final data migration.

For more information, please read our full announcement.

Related Topics

gameobject c# ui button scripting problem active unity 5 error gameobjects canvas array collision enable true bool animation destroy false javascript trigger if-statements enabled prefab panel collider


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