Search Unity

Resolved Script Machine does not work on Android

Discussion in 'Visual Scripting' started by FreedomForZair, Mar 15, 2023.

  1. FreedomForZair

    FreedomForZair

    Joined:
    Jul 23, 2018
    Posts:
    1
    I have a script as simple as
    Code (CSharp):
    1. using UnityEngine;
    2. using UnityEngine.UI;
    3.  
    4. public class textchanger : MonoBehaviour
    5. {
    6.     public Text text;
    7.     void Start()
    8.     {
    9.         text.text = "test";
    10.     }
    If I make precisely the same in Script Graph it runs fine in Editor but is not executed on Android devices.
    Unity 2021.3.15f1 lts
    Visual Scripting 1,7,8
    Android SDK
     
  2. PanthenEye

    PanthenEye

    Joined:
    Oct 14, 2013
    Posts:
    2,079
    Upgrade Visual Scripting to 1.8.0 and see if it helps. Should be available in newer Unity LTS releases, you can also force the upgrade by manually editing Package Manager's manifest.json file where you change UVS version from 1.7.8 to 1.8.0.
     
    FreedomForZair likes this.