PathOfBuildingCommunity / PathOfBuildingCommunity/PathOfBuilding-PoE2
In 'OnFrame': DrawImageQuad() argument 10: expected valid stack index <= 1, got 2 stack traceback
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 1.9k
- Forks
- 451
- Avg merge
- 21h 16m
- Merged PRs (30d)
- 68
Description
Check version
- I'm running the latest version of Path of Building and I've verified this by checking the changelog
Check for duplicates
- I've checked for duplicate open and closed issues by using the search function of the issue tracker
What platform are you running Path of Building on?
Windows
Screenshots of crash/graphical issue, version and options menu
Error:
In 'OnFrame': DrawImageQuad() argument 10: expected valid stack index <= 1, got 2
stack traceback:
[C]: in function 'DrawImageQuad'
Classes/PassiveTreeView.lua:1415: in function 'DrawQuadAndRotate'
Classes/PassiveTreeView.lua:611: in function 'Draw'
Classes/TreeTab.lua:440: in function 'Draw'
Modules/Build.lua:1362: in function 'CallMode'
Modules/Main.lua:372: in function <Modules/Main.lua:342>
[C]: in function 'PCall'
Launch.lua:111: in function Launch.lua:108
v0.16.0 master
Press Enter/Escape to dismiss, or F5 to restart the application.
Press CTRL + C to copy error text.
What are your system specifications and configuration?
OS: Win11
Graphics: Nvidia 1660 OS
How to reproduce the issue
I have a very old build (from around version 0.2) that I tried to update. I can't go into the application because I get blocked by the provided error message. Just launching the application with the aforementioned build will cause it.
PoB for PoE2 build code
https://pastebin.com/JDqaas5N
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 by reproducing the crash when launching the old build from the linked PoB code, then inspect Classes/PassiveTreeView.lua at DrawQuadAndRotate (line 1415) and its Draw caller (line 611). Trace the call through Classes/TreeTab.lua and Modules/Build.lua. Done means the application opens the affected build without the DrawImageQuad stack-index error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua
- Domain
- computer-graphics, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100