• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • It's time to vote for your favorite Pokémon Battle Revolution protagonist in our new weekly protagonist poll! Click here to cast your vote and let us know which PBR protagonist you like most.
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Error] Error with argument

  • 4
    Posts
    2
    Years
    • Seen Jul 2, 2024
    I got this error, can anyone solve that issue and explain to me please ?

    [Pokémon Essentials version 20]

    Exception: ArgumentError
    Message: Invalid argument passed to method.
    Expected nil to be one of [Symbol, GameData::TrainerType, String], but got NilClass.

    Backtrace:
    015:Validation:29:in `validate'
    103:GameData:92:in `get'
    270:Trainer:48:in `male?'
    289:UI_Load:78:in `refresh'
    289:UI_Load:26:in `initialize'
    289:UI_Load:109:in `new'
    289:UI_Load:109:in `block in pbStartScene'
    289:UI_Load:108:in `times'
    289:UI_Load:108:in `pbStartScene'
    289:UI_Load:301:in `pbStartLoadScreen'
     
    I know it's from the intro scene, but idk how to solve it.

    Copy the player_metadata.dat file from the Data folder in a vanilla Pokemon Essentials v20 folder to your Data folder. Replace if needed. Player sprite information is now stored in this file. It will probably need to be copied over in future versions of Pokemon Essentials as well.

    Edit: After each time that you compile your game, you will need to close out of the game, but not RPG Maker. Then re-copy the file from a vanilla Pokemon Essentials v20. This seems like a temporary fix and a better one will either be added to hotfixes or here.
     
    Last edited:
    Back
    Top