Skip to content
This repository has been archived by the owner on Aug 16, 2021. It is now read-only.

fix: local world blockers #1349

Merged
merged 2 commits into from
Sep 23, 2020
Merged

fix: local world blockers #1349

merged 2 commits into from
Sep 23, 2020

Conversation

pravusjif
Copy link
Member

@pravusjif pravusjif commented Sep 22, 2020

WHY?
World blockers weren't being disabled while in DEBUG_MODE (preview or test scenes), so the character could only move within its scene instead of around as it was possible before, while on preview mode.

WHAT?
Somehow the SetDebug() in SceneController gets called before the Awake(), in preview/local/DEBUG_MODE mode, so I added an extra initializacion check inside SetDebug()

… gets called before Awake() in preview/local
@github-actions
Copy link

@pravusjif pravusjif merged commit 3c4f879 into master Sep 23, 2020
@pravusjif pravusjif deleted the fix/localWorldBlockers branch September 23, 2020 20:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants