• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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] Message: undefined method `name' for nil:NilClass PBS Compiling issue

3
Posts
320
Days
    • Seen Aug 20, 2023
    Hello, so im making a game with pokemon essentials in rpg maker xp and i have just finished with my map metadata in the pbs files but i keep getting this error when trying to compile my files im unsure what the problem is and have been searching for something similar but have come up empty any help is appreciated



    [2023-07-15 10:39:20 -0700]
    [Pokémon Essentials version 21]
    [v21 Hotfixes 1.0.0]

    Exception: NoMethodError
    Message: undefined method `name' for nil:NilClass

    Backtrace:
    Compiler_CompilePBS:1179:in `validate_compiled_map_metadata'
    Compiler_CompilePBS:1172:in `block in compile_map_metadata'
    Compiler_CompilePBS:55:in `block (3 levels) in compile_PBS_file_generic'
    Compiler:143:in `block in pbEachFileSection'
    Compiler:108:in `block in pbEachFileSectionEx'
    Compiler:100:in `each_line'
    Compiler:100:in `pbEachFileSectionEx'
    Compiler:142:in `pbEachFileSection'
    Compiler_CompilePBS:22:in `block (2 levels) in compile_PBS_file_generic'
    Compiler_CompilePBS:16:in `open'

    =================

    [2023-07-15 10:42:32 -0700]
    [Pokémon Essentials version 21]
    [v21 Hotfixes 1.0.0]

    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'
     
    19
    Posts
    3
    Years
    • Seen Nov 23, 2023
    Did you manually change anything on "PBS/map_metadata"? Maybe something went wrong over there with the format? Forgot a comma or something?
     
    Back
    Top