Creating a new project

Take a backup of the current project before starting this.

  1. Create new project in Unity3D
    • Use 3D Core project template
    • Call it avva.studio_YYYYQ?
  2. Close the project
  3. Copy over avvaunity folder from Assets folder of previous project into Assets folder of new project.
  4. In the ProjectSettings in the root of the project, replace the TagManager.asset file with theone from avvaunity/ProjectSettings/TagManager.asset.
  5. Open new project.

Windows: start an application at startup

Create .bat file for application, probably like this content

:: if running as SYSTEM, cannot use %USERPROFILE%
cd %USERPROFILE%\avva\APPLICATION\
powershell "./APPLICATION.exe 2>&1 | tee -a APPLICATION.log"
pause

With popup

Super + R, then shell:startup

Create shortcut to batch file and move it to the startup directory.

Without popup

  1. Open Task Scheduler
  2. Create basic task
  3. Configure to “run whether user is logged in or not” (if setting this to just when logged in, there is a popup)
  4. Give .bat script as path

https://superuser.com/a/1168592

To debug, enable history: https://pureinfotech.com/enable-task-scheduler-history-windows-11/