Skip to content

axmol v3 crash getViewProjMatrix() when getRunningScene null #3223

Description

@NgVThangBz
  • axmol version: v3 latest
  • devices test on: ios (need check android)
  • developing environments
    • NDK version: r23c
    • Xcode version: 14.2+
    • Visual Studio:
      • VS version: 2022 (17.9+)
      • MSVC version: 19.39+
      • Windows SDK version: 10.0.22621.0+
    • cmake version:
      Steps to Reproduce:
  1. when launch app ios: i call
  Scene* scene = Scene::create();
  director->runWithScene(scene);

but now: _runningScene == null
need call: step Frame() now or wait for step Frame() to be called
2. if call: getViewProjMatrix() will crash

can check: axmol new HelloCpp
and run game

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions