• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Serena, Kris, Dawn, Red - which Pokémon protagonist is your favorite? Let us know by voting in our grand final favorite protagonist poll!
  • PokéCommunity supports the Stop Killing Games movement. If you're a resident of the UK or EU, consider signing one of the petitions to stop publishers from destroying games. Click here for more information!
  • 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] Help With ArguementError (SOLVED)

  • 2
    Posts
    82
    Days
    • Seen Apr 28, 2025
    Does anyone know what these two errors could be caused by? I am new to this and found it quite confusing on what aspect to change.
    [Pokémon Essentials version 21.1]
    [v21.1 Hotfixes 1.0.9]

    Exception: RuntimeError
    Message: Unknown exception when compiling.

    Backtrace:
    Compiler:1104:in `rescue in main'
    Compiler:1031:in `main'
    Main:29:in `mainFunctionDebug'
    Main:18:in `block in mainFunction'
    Errors:80:in `pbCriticalCode'
    Main:18:in `mainFunction'
    Main:45:in `block in <main>'
    Main:44:in `loop'
    Main:44:in `<main>'
    -e:in `eval'


    [Pokémon Essentials version 21.1]
    [v21.1 Hotfixes 1.0.9]

    Exception: ArgumentError
    Message: invalid byte sequence in UTF-8

    Backtrace:
    Intl_Messages:193:in `scan'
    Intl_Messages:193:in `find_translatable_text_from_RGSS_script'
    Intl_Messages:19:in `block in gather_script_and_event_texts'
    Intl_Messages:13:in `each'
    Intl_Messages:13:in `gather_script_and_event_texts'
    Compiler:1022:in `compile_all'
    Compiler:1092:in `main'
    Main:29:in `mainFunctionDebug'
    Main:18:in `block in mainFunction'
    Errors:80:in `pbCriticalCode'
     
    Back
    Top