# \[UE 5.3.2\] Assertion failed: Index\>=0 && Index\<NumBits when stopping the game in editor 

**URL:** <https://forums.unrealengine.com/t/ue-5-3-2-assertion-failed-index-0-index-numbits-when-stopping-the-game-in-editor/2546053>\
**Category:** Debugging, Optimization, & Profiling\
**Tags:** unreal-engine, crash, bug-report, editor, question\
**Created:** [June 7, 2025, 10:52pm UTC](https://forums.unrealengine.com/t/ue-5-3-2-assertion-failed-index-0-index-numbits-when-stopping-the-game-in-editor/2546053 "2025-06-07T22:52:44Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![IAmSympathy](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/iamsympathy/32/1072426_2.png) [@IAmSympathy](https://forums.unrealengine.com/u/IAmSympathy)\
**Post date:** [June 8, 2025, 12:37am UTC](https://forums.unrealengine.com/t/ue-5-3-2-assertion-failed-index-0-index-numbits-when-stopping-the-game-in-editor/2546053/3 "2025-06-08T00:37:16Z")

</div>

Solution found

> [@Engine crashes when stop simulating while a dynamic material instance is being set to a sprite component](https://forums.unrealengine.com/t/engine-crashes-when-stop-simulating-while-a-dynamic-material-instance-is-being-set-to-a-sprite-component/1399441/12):
>
> For those who don’t want to have to touch anything in C++, the solution is quite quick and practical. Include a hotkey in the project (it can be ESC) and make a call to the QUIT GAME event. It works perfectly and doesn’t crash. It’s just as fast as stopping the simulation, at most it takes a few milliseconds longer.

---

_[View the full topic](https://forums.unrealengine.com/t/ue-5-3-2-assertion-failed-index-0-index-numbits-when-stopping-the-game-in-editor/2546053)._
