BoomingTech/Piccolo

GameMode状态,Memu->Reload Current Level,粒子系统索引访问异常崩溃

Nrtyck opened this issue · 2 comments

Describe the bug | Bug描述
A clear and concise description of what the bug is.
GameMode状态,Memu->Reload Current Level,粒子系统索引访问异常崩溃

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

  1. GameMode状态 按下Alt切换鼠标显示
  2. Memu->Reload Current Level
  3. ParticlePass::simulate m_descriptor_infos成员索引访问异常崩溃

Expected behavior | 预期行为
A clear and concise description of what you expected to happen.

Actual behavior | 实际行为
A clear and concise description of what actually happened.

Screenshots/Logs | 截图/日志
If applicable, add screenshots and/or a video to help explain your problem.

Desktop | 桌面环境

  • OS: [e.g. Windows, macOS, Linux]
  • Version [e.g. Win10, Bug Sur, Ubuntu20]
  • CPU [e.g. Intel I9-9900k , Ryzen 5900x, ]
  • GPU [AMD 6800 XT, NVidia RTX 3090]
  • Memory [e.g. 16GB]
  • Compiler [e.g. MSVC2019, Clang13, G++7.0]

Additional context | 补充信息
Add any other context about the problem here.

你好,首先非常感谢你的反馈。

经查,当前问题是由两个问题导致:

  1. 未使用的 Buffer 指针在销毁时导致的崩溃
  2. 关卡重新加载时粒子的索引分配器未将索引置空。

当前已修复了该问题,更改在此处

当前已经合并到 main 分支