Sorry to reopen this, but I can't for the sake of it, get it to work. My Houdini just won't run the startup script!
Subject:
123.py / Startup Scripts completely failing (H21 Indie / Win 10)
Hi everyone, I’m hitting a wall with startup scripts and could really use a second pair of eyes. I cannot get
123.py (or
456.py) to execute on startup, no matter what I try.
The Setup:
Version: Houdini
21.0.xxx Indie
OS: Windows 10
Goal: Force autosave on at launch.
What I have confirmed:
Path: Documents/houdini21.0/scripts/
123.py exists.
Textport: echo $HOUDINI_USER_PREF_DIR points correctly to that houdini21.0 folder.
Filenames: Hidden extensions are ON; it is definitely
123.py, not 123.py.txt.
Environment: My houdini.env is clean (I even tried a version with HOUDINI_PATH = "C:/CustomPath;&" and moved the script there—still nothing).
Simplicity: The script only contains a hou.ui.displayMessage("Hello") and a print statement to test if it's even attempting to run. No pop-up appears and nothing shows in the console.
The Weird Part:
The Python Shell works fine manually, but Houdini seems to be completely bypassing the scripts folder during the boot sequence.
Has anyone encountered H21 ignoring the local scripts directory? Is there a new security setting or a specific "Indie" environment override I might be missing?
Thanks in advance!