BoomingTech / Piccolo

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

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

Open liangzai12 opened 2 years ago

liangzai12 commented 2 years 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 2 years 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.