HaxeFlixel / HaxeFlixel/flixel
FLX_TRACK_POOLS not working on Hashlink
Open
Nobody has claimed this yet.
- Dominant language
- Haxe
- Stars
- 2.2k
- Forks
- 522
- Avg merge
- 34m
- Merged PRs (30d)
- 1
Description
On Flixel 6.1.2, trying to compile with -DFLX_TRACK_POOLS on Hashlink results in:
Uncaught exception: Null access
Called from fun$13409(lime/app/Module.hx:0)
Called from flixel.util.FlxPool.stackToString(flixel/util/FlxPool.hx:207)
Called from flixel.util.FlxPool.trackGet(flixel/util/FlxPool.hx:179)
Called from flixel.util.FlxPool.get(flixel/util/FlxPool.hx:88)
Called from fun$13410(flixel/FlxCamera.hx:570)
Called from .init(flixel/FlxCamera.hx:570)
It seems to be a Hashlink issue, building HTML5 or Neko works fine
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with flixel/util/FlxPool.hx at stackToString and trackGet, then follow the call from flixel/FlxCamera.hx:570. Reproduce with Flixel 6.1.2 and -DFLX_TRACK_POOLS on Hashlink, comparing the working HTML5 or Neko builds. Done means pool tracking no longer raises Null access on Hashlink.
Written by the indexing model from the issue text.
Assessment
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100