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

Cannot move Vehicles #40

Open
Zamrod opened this issue Jan 24, 2021 · 0 comments
Open

Cannot move Vehicles #40

Zamrod opened this issue Jan 24, 2021 · 0 comments

Comments

@Zamrod
Copy link

Zamrod commented Jan 24, 2021

I get errors whenever I try to drag a vehicle with Conditional Visibility enabled. The vehicle doesn't move on my screen but its vision circle does. After that, I can no longer move the vehicle. After I refresh, the token is at its destination.
Foundry 0.7.9
DnD5e 1.2.4
Conditional Visibility 0.1.4

The errors are as follows:
Uncaught TypeError: Cannot read property 'prc' of undefined
at ConditionalVisibilitySystem5e.js:47
at Array.map ()
at ConditionalVisibilitySystem5e.getVisionCapabilities (ConditionalVisibilitySystem5e.js:46)
at SightLayer.ConditionalVisibility._sightLayer.restrictVisibility (ConditionalVisibility.js:45)
at SightLayer.refresh (foundry.js:39114)
at LightingLayer.refresh (foundry.js:38504)
at Canvas.initializeSources (foundry.js:10298)
at Canvas.triggerPendingOperations (foundry.js:10982)
at Token.control (foundry.js:11630)
at Token._onClickLeft (foundry.js:11858)

ConditionalVisibilitySystem5e.js:47 Uncaught (in promise) TypeError: Cannot read property 'prc' of undefined
at ConditionalVisibilitySystem5e.js:47
at Array.map ()
at ConditionalVisibilitySystem5e.getVisionCapabilities (ConditionalVisibilitySystem5e.js:46)
at SightLayer.ConditionalVisibility._sightLayer.restrictVisibility (ConditionalVisibility.js:45)
at SightLayer.refresh (foundry.js:39114)
at Canvas.initializeSources (foundry.js:10299)
at Canvas.triggerPendingOperations (foundry.js:10982)
at Scene._onModifyEmbeddedEntity (foundry.js:34272)
at Function._handleUpdateEmbeddedEntity (foundry.js:30051)
at Function._handleUpdateEmbeddedEntity (foundry.js:34301)

foundry.js:35837 TypeError: Cannot read property 'prc' of undefined
at ConditionalVisibilitySystem5e.js:47
at Array.map ()
at ConditionalVisibilitySystem5e.getVisionCapabilities (ConditionalVisibilitySystem5e.js:46)
at SightLayer.ConditionalVisibility._sightLayer.restrictVisibility (ConditionalVisibility.js:45)
at SightLayer.refresh (foundry.js:39114)
at Token._animatePerceptionFrame (foundry.js:44748)
at Token._onMovementFrame (foundry.js:44735)
at ontick (foundry.js:44700)
at _animateFrame (foundry.js:35872)
at Token.animate (foundry.js:35826)
(anonymous) @ foundry.js:35837

ConditionalVisibilitySystem5e.js:47 Uncaught (in promise) TypeError: Cannot read property 'prc' of undefined
at ConditionalVisibilitySystem5e.js:47
at Array.map ()
at ConditionalVisibilitySystem5e.getVisionCapabilities (ConditionalVisibilitySystem5e.js:46)
at SightLayer.ConditionalVisibility._sightLayer.restrictVisibility (ConditionalVisibility.js:45)
at SightLayer.refresh (foundry.js:39114)
at Token._animatePerceptionFrame (foundry.js:44748)
at Token.animateMovement (foundry.js:44706)
at async Token.setPosition (foundry.js:44868)

ConditionalVisibilitySystem5e.js:47 Uncaught TypeError: Cannot read property 'prc' of undefined
at ConditionalVisibilitySystem5e.js:47
at Array.map ()
at ConditionalVisibilitySystem5e.getVisionCapabilities (ConditionalVisibilitySystem5e.js:46)
at SightLayer.ConditionalVisibility._sightLayer.restrictVisibility (ConditionalVisibility.js:45)
at SightLayer.refresh (foundry.js:39114)
at Canvas.initializeSources (foundry.js:10299)
at Canvas.triggerPendingOperations (foundry.js:10982)
at Token.control (foundry.js:11630)
at Token._onClickLeft (foundry.js:11858)
at Token._onClickLeft (foundry.js:45385)

ConditionalVisibilitySystem5e.js:47 Uncaught (in promise) TypeError: Cannot read property 'prc' of undefined
at ConditionalVisibilitySystem5e.js:47
at Array.map ()
at ConditionalVisibilitySystem5e.getVisionCapabilities (ConditionalVisibilitySystem5e.js:46)
at SightLayer.ConditionalVisibility._sightLayer.restrictVisibility (ConditionalVisibility.js:45)
at SightLayer.refresh (foundry.js:39114)
at SightLayer.initialize (foundry.js:38933)
at async ConditionalVisibility._draw (ConditionalVisibility.js:36)

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

1 participant