Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on Thursday, June 8, for a Q&A with Unity's Content Pipeline group here on the forum, and on the Unity Discord, and discuss topics around Content Build, Import Workflows, Asset Database, and Addressables!
    Dismiss Notice

Bug Button doesn't work when parent nested canvas been deactivate and reactivate again

Discussion in 'UGUI & TextMesh Pro' started by guidaye, Jul 27, 2022.

  1. guidaye

    guidaye

    Joined:
    May 20, 2022
    Posts:
    7
    run SampleScene (this is a definitely new scence created form 2D tempalte on Unity 2021.3.6f1) from the attachment under Unity 2021.3.6f1, deactivate the nested canvas and reactivate it again, the button underneath won't work anymore.

    it works at least on Unity 2019.4.x, is it a bad practise to have nested canvas? or this might be a bug of Unity 2021.3?
     

    Attached Files:

  2. karliss_coldwild

    karliss_coldwild

    Joined:
    Oct 1, 2020
    Posts:
    461
    There are a couple of recent forum posts where are people having issues with nested canvas specifically in 2021.3.6. Supposedly 2021.3.5 doesn't have those issues. Take a look at are not difficult to find and they mentioned potential workarounds.
     
  3. guidaye

    guidaye

    Joined:
    May 20, 2022
    Posts:
    7
    thank for your information, after this post, I did find some threads that reported the same bug as I did, and alreay switched back to Unity 2021.3.5f1, it works as expected.