BoomingTech / Piccolo

Piccolo (formerly Pilot) – mini game engine for games104
MIT License
5.79k stars 1.8k forks source link

Bug Report: 菜单栏重新加载当前关卡会崩溃 #378

Open liangzai12 opened 1 year ago

liangzai12 commented 1 year ago

Describe the bug | Bug描述 A clear and concise description of what the bug is. 菜单栏重新加载当前关卡会崩溃

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

  1. 开启编辑器后menu-reload current level

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

Desktop | 桌面环境

hanyangl5 commented 1 year ago

you can remove line 34 rhi->destroyBuffer(m_particle_storage_buffer); in Piccolo\engine\source\runtime\function\render\passes\particle_pass.cpp to solve this, this bufer is not initilized.