Piccolo icon indicating copy to clipboard operation
Piccolo copied to clipboard

Bug Report Can't enter game mode correctly after modify object location and save level

Open CRAFTSTARCN opened this issue 3 years ago • 2 comments

Describe the bug | Bug描述 If we load level, modify aobject's transform, save the level and reload it, when try get into gamemod, we'll gave the game camera locked, and not able to control anything in gamemode. If we then close the engine and open up again, select gamemode, we'll still not able to move the camera or control character.

The problem may caused by saving the level.

No log was printed in console.

Steps to reproduce | 如何复现 Steps to reproduce the behavior:

  1. Open Piccolo engine with default level and move a object's location
  2. Saving level
  3. Reload currenty level or just Reopen the engine
  4. Start gamemode

Expected behavior | 预期行为 Third person camera follow character and able to control character in this modified level.

Actual behavior | 实际行为 Camera blocked and not able to control character

Screenshots/Logs | 截图/日志

https://user-images.githubusercontent.com/24621848/191422033-8f1f9e0c-3817-4d29-879e-3f6ff1438e2c.mp4

Desktop | 桌面环境

  • OS: Windows
  • Version 10
  • CPU Intel Core I5 9400H
  • GPU NVIDIA GEFORCE GTX 1660Ti
  • Memory 16GB
  • Compiler MSVC2019

Additional context | 补充信息 Nothing now

CRAFTSTARCN avatar Sep 21 '22 05:09 CRAFTSTARCN

Update: After update to new version of piccolo, if you modify save and reload, it will report an assert error(only at first time reload) if you modify, save , close and reopen, still no error report.

JK}BUVL$5%0T`19 WWQC8_B

CRAFTSTARCN avatar Sep 21 '22 05:09 CRAFTSTARCN

Thank you very much for reporting the bug! We'll check what's going wrong with the saving function and fix it soon.

Ol6rin avatar Oct 15 '22 06:10 Ol6rin