Creating a new project
Take a backup of the current project before starting this.
- Create new project in Unity3D
- Use 3D Core project template
- Call it avva.studio_YYYYQ?
- Close the project
- Copy over
avvaunity
folder fromAssets
folder of previous project intoAssets
folder of new project. - In the
ProjectSettings
in the root of the project, replace theTagManager.asset
file with theone fromavvaunity/ProjectSettings/TagManager.asset
. - 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
- Open Task Scheduler
- Create basic task
- Configure to “run whether user is logged in or not” (if setting this to just when logged in, there is a popup)
- Give .bat script as path
https://superuser.com/a/1168592
To debug, enable history: https://pureinfotech.com/enable-task-scheduler-history-windows-11/