Search Unity

Simulation Won't Start

Discussion in 'Unity Game Simulation' started by danielandrade, Jul 10, 2020.

  1. danielandrade

    danielandrade

    Joined:
    Apr 28, 2020
    Posts:
    2
    Trying to run simulation for first time and it gives this error:
    UnauthorizedAccessException: Access to the path "/88f5f6df-b018-40d1-bf06-30950458c2da" is denied.
    System.IO.DirectoryInfo.Create () (at <437ba245d8404784b9fbab9b439ac908>:0)
    (wrapper remoting-invoke-with-check) System.IO.DirectoryInfo.Create()
    System.IO.Directory.CreateDirectoriesInternal (System.String path) (at <437ba245d8404784b9fbab9b439ac908>:0)

    I have tried all I can think to do. Since it appears the log is failing I don't have much direction.

    Using:
    Unity version 2019.3.7f1
    Unity Simulation Capture 0.0.10-preview.8

    Any help would be great.

    Regards,

    Daniel
     
    dan_ginovker likes this.
  2. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Are you trying to run one of the examples? Can you provide additional details? Please provide the code you are using that is giving you the error and we can take a look.
     
  3. Rowanlikesdonuts

    Rowanlikesdonuts

    Joined:
    Jul 31, 2020
    Posts:
    15
    He means give the file of the game (I think).
     
  4. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    No, I'm asking for the source code that is causing the error.
     
  5. danielandrade

    danielandrade

    Joined:
    Apr 28, 2020
    Posts:
    2
  6. JeffDUnity3D

    JeffDUnity3D

    Joined:
    May 2, 2017
    Posts:
    14,446
    Sorry, which line is throwing the error? Can you step debug with Visual Studio or just add Debug.Log statements in your code? I might suggest that you show Preview Packages in Package Manager, and install the latest Preview packages of Simulation Core and Simulation Capture. Also, the Windows Application Event Log should have a log. Run "Event Viewer" in Windows 10 (click Start and type in Event Viewer) and look under the Windows Logs/Application logs. Also look under System and Security for any Errors
     
    Last edited: Aug 10, 2020