• 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!
  • 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] In pixman_region_union_rect: Invalid rectangle passed Set a breakpoint on '_pixman_log_error' to debug

  • 428
    Posts
    5
    Years
    Walking around on the completely-unedited Lappet Town overworld map causes this error to appear in my debug log, and there's a lag spike every time it happens...

    *** BUG ***
    In pixman_region_union_rect: Invalid rectangle passed
    Set a breakpoint on '_pixman_log_error' to debug
     
    Try running this code in the script command of an event.
    Code:
    p Bitmap.max_size
    and tell us what number you see.
     
    32768.

    A error message keeps showing up with that number until I have Task Manager kill the program.

    I put the script in an auto-running event on the map I got the error on: The starter town you start in using the default Pokemon Essentials file. You leave the starter house, and the town starts lagging while putting the aforementioned error message into the debug log.

    32768... What does this code mean?
     
    I increased the size of the Outside tileset by copypasting other tilesets onto it, so I could have seemingly-indoor areas with the Outside tileset's grass. It was necessary for a place I wanted to design to look right.

    Is that the cause of the issue?
     
    I increased the size of the Outside tileset by copypasting other tilesets onto it, so I could have seemingly-indoor areas with the Outside tileset's grass. It was necessary for a place I wanted to design to look right.

    Is that the cause of the issue?

    If your expanded tileset is going above 32768 px, then yes, that's exactly the issue. Try to keep it below 32768, since that's the maximum your GPU can handle.
     
    Would expanding the tileset horizontally rather than vertically fix the issue and let me build seemingly-indoor locations with the Outside tileset's water and grass?
     
    Back
    Top