TypeError: Cannot read property 'clamp' of undefined

TypeError: Cannot read property 'clamp' of undefined
at Window_TitleCommand.set (rmmz_core.js:3724)
at Window_TitleCommand.Window_Base.updateBackOpacity (rmmz_windows.js:77)
at Window_TitleCommand.Window_Base.initialize (rmmz_windows.js:23)
at Window_TitleCommand.Window_Scrollable.initialize (rmmz_windows.js:593)
at Window_TitleCommand.Window_Selectable.initialize (rmmz_windows.js:839)
at Window_TitleCommand.Window_Command.initialize (rmmz_windows.js:1450)
at Window_TitleCommand.initialize (rmmz_windows.js:6391)
at new Window_TitleCommand (rmmz_windows.js:6384)
at Scene_Title.createCommandWindow (rmmz_scenes.js:491)
at Scene_Title.create (rmmz_scenes.js:414)
It all started when I set up a tailset. Then this error appeared... I tried deleting the tailset I put in, but it didn't help.... I changed Actor1, and tried to change to the original view.... It didn't work
It has nothing to do with a tileset.

That's saying you're trying to set the opacity of the title menu but there's no number provided.

Check the Window Opacity entry in the System 2 tab of your database - there must be a number entered.
Sorry, but I mostly use Russian and can't find this option. Maybe there is something wrong?
1704911207553.png
It appears to be missing entirely, it should be underneath your font size.

Try uninstalling and reinstalling MZ. Or if you make a new project, do you see it there?
No, it does not appear when you create a new project. Now I'm trying to reinstall
You could also try the Steam verifying the files thing.
I tried reinstalling, to no avail. Steam says the files are not corrupted.
I just checked, and the v1.7.0 Russian version of the editor on Steam has those options for me. Window Opacity was added in the v1.3.0 update. You're also missing the screen scale and tile size options, which were added in later versions.

Check which version of the editor you are using: Help -> About from the editor's menu bar.

You should match the version of your project's core scripts to the version of the editor you are using. Do this using Game -> Update Corescript from the editor's menu bar. 👋

If you are using RPG Maker MZ through Steam, updating should be easy:
  1. Make sure you're not in Offline Mode (to enable updates).
  2. Opt out of any beta branch (Library -> RPG Maker MZ -> right-click -> Properties -> Betas: None).
  3. Launch RPG Maker MZ and let it update to the latest version.
You can prevent auto-updates, e.g. to retain compatibility with plugins you're using in your project, by opting into a Beta branch for the appropriate version: see point 2.

If you're having trouble updating, you may need to clear the download cache:
  • Steam -> Settings -> Downloads tab -> Clear Download Cache.
So I was like "why is there an onion in the SV weapons"? Learned something new today, but now trying to make etymological sense out of this will keep me awake at night... urgh...
Yay! Updated corescript and everything worked!

Original thread: https://forums.rpgmakerweb.com/threads/typeerror-cannot-read-property-clamp-of-undefined.164671/