Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags
(1 edit)

Getting this error when trying to run new update with Improved Random Portrait, Anyone able to help?

SCRIPT ERROR: GDScript::reload: Parse Error: Variable 'randPortrait' already defined in the scope (at line: 11).

          At: res://files/scripts/slave_tab.gd:22
ERROR: reload: Method/Function Failed, returning: ERR_PARSE_ERROR
   At: modules/gdscript/gdscript.cpp:580
SCRIPT ERROR: openslavetab: Invalid call. Nonexistent function 'slavetabopen' in base 'Control'.
          At: res://files/scripts/Mansion.gd:613

Generally, this error means that you have installed the Random Portrait mod more than once at the same time, so the duplicate code causes errors. This can happen if Aric's mod is re-installed without removing all the other mods, as the act of deleting the backup folder causes those mods to become part of the default scripts. The simple fix would be to un-apply the Random Portrait mod to see if it remains installed and play like that. Otherwise you will need to start a fresh Strive program folder and reinstall your mods.

Thank you, turns out that was exactly what was wrong. Did a fresh install and its all working now with no issues.