Assertion failed: (Index >= 0) & (Index < ArrayNum) Array index out of bounds: 0 into an array of size 0
This error means that the engine is trying to access a data array, and finds it empty. And since the related trace aims at “UnrealEditor_Engine”, that’s coming from the engine itself, not from project’s code.
The most likely cause is corruption, even if you already cleared the project’s cache. Yet, there’s one element that can still hold invalid data, and that’s the engine’s own cache. To clear that one out, you need to go to your system’s local data, usually at %LOCALAPPDATA%\UnrealEngine\Common. There, delete the DerivedDataCache folder, then start the engine again, open an empty project, and test a new node.
Alternatively, if the issue persists even with the engine’s cache cleared, then I would verify the whole installation. To do that, from the launcher, locate your install, open the drop down menu, and click on “Verify”. The process should repair any broken element that could be causing this.