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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

IL2CPP and UI problem

Discussion in 'UGUI & TextMesh Pro' started by mrtux007, Nov 28, 2019.

  1. mrtux007

    mrtux007

    Joined:
    Aug 30, 2017
    Posts:
    6
    SOLVED! I used set property in playmaker instead of Set active object. My bad.

    Hi, if i use Mono as scripting backend its works fine but with IL2CPP it dont.

    Ex, i have a UI image for muting the sound. Its also a button. When i click on it that image should be disabled (gone/not visible). At the same time it should enable the new image with mute symbol. This way i can toggle between them. They are positioned at the same spot, never seen at the same time. Fyi i use Playmaker.

    I also have a simple image for showing info. A text should pop up, it dont either with IL2CPP.

    When i change back to Mono it works just fined. IL2CPP not.

    Any clue? Thx and br! /Mike
     
    Last edited: Nov 28, 2019
  2. uDamian

    uDamian

    Unity Technologies

    Joined:
    Dec 11, 2017
    Posts:
    1,203
    Just to confirm, are you using UIElements (ie VisualElement, rootVisualElement, ...) or uGUI (ie. Canvas, RectTransform, ...)?
     
  3. mrtux007

    mrtux007

    Joined:
    Aug 30, 2017
    Posts:
    6
    Sorry for my late answer, im using uGui (Canvas).