Skip to content

System Plugin realTime not increasing while simulation is paused #1777

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

Closed
Jakub-Krakowiak opened this issue Nov 2, 2022 · 1 comment
Closed
Assignees
Labels
bug Something isn't working

Comments

@Jakub-Krakowiak
Copy link

Jakub-Krakowiak commented Nov 2, 2022

Environment

  • OS Version: Ubuntu 20.04
  • binary Fortress 6.12

When implementing a System Plugin realTime from info in functions PreUpdate and PostUpdate is not increasing when simulation is paused, opposite to what is said in the documentation
RealTime

Description

  • Expected behavior: realTime increases when simulation is paused
  • Actual behavior: realTime does not increase when simulation is paused

Steps to reproduce

  1. Create a System Plugin e. g. using your tutorial
  2. implement PreUpdate or PostUpdate function as follows:

PostUpdate

  1. simulate a world with an entity e. g. world entity having this plugin active (and simulation paused)

Output

RealTimeNotChanging

@azeey
Copy link
Contributor

azeey commented Nov 28, 2022

The documentation seems to be incorrect/out-of-date. the realTime variable is used to measure the wall clock time elapsed while simulation is running. I've updated the docs in #1817

@azeey azeey closed this as completed Dec 23, 2022
@azeey azeey closed this as not planned Won't fix, can't repro, duplicate, stale Dec 23, 2022
@azeey azeey moved this to Done in Core development Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

2 participants