Skip to content

Switch Academy ticking from FTickableGameObject to physics-driven actor#14

Merged
StephaneCapponi merged 1 commit intoAlanLaboratory:masterfrom
StephaneCapponi:develop/rework-environment-step-tick
Sep 17, 2025
Merged

Switch Academy ticking from FTickableGameObject to physics-driven actor#14
StephaneCapponi merged 1 commit intoAlanLaboratory:masterfrom
StephaneCapponi:develop/rework-environment-step-tick

Conversation

@StephaneCapponi
Copy link
Copy Markdown
Contributor

The pull request include the following changes:

  • Removed FTickableGameObject inheritance from UAcademy.
  • Introduced AAcademyStepper actor to drive EnvironmentStep() on the physics tick (similar to Unity's AcademyFixedUpdateStepper).
  • Added runtime creation and cleanup of the stepper when Academy initializes and disposes.
  • Marked AAcademyStepper as transient so it is not saved into levels or assets.
  • Updated documentation comments across Academy and Stepper to clarify their lifecycle and purpose.

This change aligns UnrealMLAgents ticking behavior with Unity ML-Agents, ensuring Academy steps run in sync with physics updates rather than frame ticks.

@StephaneCapponi StephaneCapponi merged commit 6e09c8d into AlanLaboratory:master Sep 17, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

1 participant