edzillion / blood-n-guts

Other
4 stars 16 forks source link

Getting a canvas drawing error during scene loading #225

Closed luizbgomide closed 3 years ago

luizbgomide commented 3 years ago

image

image

edzillion commented 3 years ago

A little more info would help. Have you tried running blood and guts on it's own? Is this a scene that has blood on it already? Can you try wiping the blood in the scene and reloading?

luizbgomide commented 3 years ago

It is a scene that had blood, but I already wipe all of it. But it seems to be hit and miss. Some scenes shows that error and others do not. This only appears when the scene is set as Activated and I first load the World.

If I load the World in a scene that works without error, and then Activate one of the scenes that usually produce an error, it doesn't show the error, it just shows in the first load of the world.

I used Find the Culprit with just Blood 'n Guts and got this: image

Also this started this week, since the session in previous week showed no error, I first noticed that today after I updated all modules.

edzillion commented 3 years ago

Thanks that helps. What system and blood-n-guts versions are you running?

luizbgomide commented 3 years ago

Latest Blood and Guts and PF2, just update today and both had updates.

Let me know if there is any test that you want me to run.

edzillion commented 3 years ago

OK I had a look and I think I have an idea. Can you rename this file to remove the .txt part and then replace the the same file in the Blood n Guts module.

On windows it's in \foundry-data\Data\modules\blood-n-guts\

I am hoping that fixes the problem but could you also copy the console logs where it says token draw missing actor for token? thanks

blood-n-guts.ts.txt

luizbgomide commented 3 years ago

Hey, do you mind transpiling it to JS, I don't have TypeScript setup at my PC :D

edzillion commented 3 years ago

yeah sorry just came back here cos I realised that :) blood-n-guts.js.txt

luizbgomide commented 3 years ago

Yep. that fixed.

blood-n-guts | token draw missing actor for token Tesouro

"Tesouro" is my loot actor, and if I'm not mistaken I removed the original actor and created a new one, which means that indeed this token is actorless...

Maybe it wasn't due to the update to Blood 'n Guts afterall!!!

luizbgomide commented 3 years ago

Thanks a lot for the support and the amazing module :D