Search Unity

Question How to limit access to System.IO

Discussion in 'Visual Scripting' started by Personuo, Feb 10, 2023.

  1. Personuo

    Personuo

    Joined:
    Mar 19, 2014
    Posts:
    129
    I wish to add mod capabilities to my project, where users can utilize visual scripting to implement logic, but with limitations, such as preventing users from accessing the file system through visual scripting, or accessing another gameobject.
    How to do?
     
  2. PanthenEye

    PanthenEye

    Joined:
    Oct 14, 2013
    Posts:
    2,065
    Visual Scripting doesn't posses any kind of sandboxing capabilities. You'd have to edit the tool's source code to achieve this. But potential modders could just download the regular Visual Scripting package from package manager and gain access anyway.
     
    Last edited: Feb 11, 2023