• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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
    1
    Years
    • 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'
     
    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