YEP_BattleEngineCore type error

When using Yanfly's Battle Engine Core, I start a battle and get the error message "cannot read property addChild of null"

The console shows some kind of problem with the damage popups, but I'm not sure exactly what it is. Any ideas?

Console.png
Are you Yanfly plugins in the exact order as listed on her site?
Did you start a new game after adding the plugin?

Are you playing from Test Play and not Battle Test?
Are you Yanfly plugins in the exact order as listed on her site?
Did you start a new game after adding the plugin?

Are you playing from Test Play and not Battle Test?
Yes, plugins are in order, I did this from a new game in test play, not the battle test.
Looks like this is line 2930 of Yanfly's Battle Engine Core plugin:
JavaScript:
        BattleManager._spriteset.addChild(sprite);
So it seems to be saying BattleManager._spriteset is null. The spriteset should be initialised when Scene_Battle starts, but it appears something is trying to show a damage popup before that code even gets a chance to run? 😅

If you are using any non-Yanfly plugins:
  1. Could you specify which ones?
  2. Does temporarily turning them off in the Plugin Manager solve the problem?
1) please rename your project folder to follow networking rules.
This has nothing to do with your current error, but it will cause you problems later.
The spaces are not allowed under networking rules, and the browser replaces them with %20 in the error messages exactly because he can't handle spaces in file- and folder names, and they will cause other problems later on deployment.

2) please give a screenshot of your plugin mmanager.
As said above this is most likely a compatibility problem between two plugins, and we need to see the entire list to even guess which one might be the cause.
Here is my plugin manager:
Pmanager.png


The top half of the list is just more Yanfly plugins. The culprit is very likely SRPG_Core, which I'm guessing is just incompatible with Yanfly's Battle Engine. I have almost all of the other plugins turned off to determine which one could be causing the problem.

EDIT: So it seems to be SRD's TP Upgrade plugin. I'll try some more testing to see if I can get it to work correctly.

Original thread: https://forums.rpgmakerweb.com/threads/yep_battleenginecore-type-error.116699/