Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Foundry v9 canvas doesn't load with STV enabled #10

Open
TheTural opened this issue Dec 17, 2021 · 1 comment
Open

Foundry v9 canvas doesn't load with STV enabled #10

TheTural opened this issue Dec 17, 2021 · 1 comment

Comments

@TheTural
Copy link

Just logging an issue since during my testing I found that SVT was causing the Foundry canvas to fail to load in the upcoming v9 release.

Disabled all other modules for testing, canvas is just gray with STV enabled. The console doesn't give a very specific indication of what may be wrong (or I'm not smart enough to identify it from this). Only error in the console during a scene load:

TypeError: Failed to render WebGL canvas: Cannot read properties of undefined (reading 'name')
    at Canvas.draw (foundry.js:19804)
    at async Scene.view (foundry.js:17589)
    at async Game.initializeCanvas (foundry.js:5661)
    at async Game.setupGame (foundry.js:5530)
    at async Game._initializeGameView (foundry.js:6480)
    at async Game.initialize (foundry.js:5426)
onError                         @ foundry.js:326
initializeCanvas                @ foundry.js:5664
async function (async)
initializeCanvas                @ foundry.js:5656
setupGame                       @ foundry.js:5530
async function (async)
setupGame                       @ foundry.js:5515
_initializeGameView             @ foundry.js:6480
_initializeView                 @ foundry.js:6456
initialize                      @ foundry.js:5426
async function (async)
initialize                      @ foundry.js:5420
window.addEventListener.once    @ foundry.js:62061
async function (async)
window.addEventListener.once    @ foundry.js:62060

localhost-1639782235173.log
image

@sfuqua
Copy link
Owner

sfuqua commented Dec 25, 2021

Thanks for the stack and the report, I'll try and see if this is something small I can fix in the next week. I am not up to speed on the v9 breaking changes (life has interfered with my RPG and Foundry time since the fall) - if it's a substantial break I may need to solicit help for this one and declare v9 unsupported for a while.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants