Pocketmine-mp: Level->getSafeSpawn() crash with non-solid blocks

Created on 26 Jul 2017  路  4Comments  路  Source: pmmp/PocketMine-MP

Issue description



Sometimes when you join it will crash the player and give out an error message in console. Only way to fix is by deleting data profile or wait a few hours for some reason.

There isnt a great way to reproduce this issue. it occurs on its own.

Steps to reproduce the issue

  1. ...Join server

OS and versions

  • PocketMine-MP: 1.6.2 (api3:blocks
  • PHP: 7.0.18
  • Server OS: Windows 10
  • Game version: PE iOS

Plugins

  • Test on a clean server without plugins: is the issue reproducible without any plugins loaded?

If the issue is not reproducible without plugins:

  • Have you asked for help on our forums before creating an issue?
  • Can you provide sample, minimal reproducing code for the issue? If so, paste it in the bottom section
  • Paste your list of plugins here (use the 'plugins' command in PocketMine-MP)
    [15:16:22] [Server thread/CRITICAL]: TypeError: "Argument 1 passed to pocketmine\math\AxisAlignedBB::__construct() must be of the type float, null given, called in C:\Users\xXSir\Downloads\BCN\src\pocketmine\block\Block.php on line 877" (EXCEPTION) in "src/pocketmine/math/AxisAlignedBB" at line 43 Thats the backtrace, i tested without plugins.

Crashdump, backtrace or other files

  • Do not paste crashdumps into an issue - please use our Crash Archive at https://crash.pmmp.io for submitting crash reports to not spam the issue tracker. Add links to your reports in the Crash Archive here.
  • Please use gist or anything else to add other files and add links here

  • ...

Core Fixed

All 4 comments

1213 . I forgot about this issue.

I also get a similar error when trying to teleport to worlds

The "Debugged" label indicates that we already know the cause of the bug, but it has yet to be fixed.

Ok thanks. :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

KAGsundaram picture KAGsundaram  路  43Comments

markkrueg picture markkrueg  路  18Comments

MisteFr picture MisteFr  路  29Comments

zKoz210 picture zKoz210  路  27Comments

VCraftMCPE picture VCraftMCPE  路  20Comments