Not sure exactly which file, I just copied over all the headers again as I compile angelscript to library and only keep the headers, so to be sure I just did a full replacement, most likely one of the last headers for the library if sorted alphabetically this is usually something which can happen when you include libraries that the headers can still be old versions as long as the variable is there but it was changed to another data type while still compatible works differently to make the results scewed.
but really this is a very simple and rare case as in most cases people will manage to copy over all headers and not miss a few files because they went copy pasting the files too quickly.
You also got a rare case where you replace a .lib and headers while your project that uses the library have visual studio still open it won't always notice the change and will compile the old code, not always a clean build will help either in which case you can restart visual studio.
I should note when I say one of the last headers I mean the ones for the actual library and not the addons.
another note is that my Windows 10 alot of times messes up opening folders and instantly trying to select all files will result in not actually selecting all files.(slow folder browsing)
Heh, I am truly sorry but it seems I've wasted your time making you look for something, seems I forgot to replace one of all the headers in angelscript and that of course did compile it just doesn't work because the compiled code didn't agree anymore.
Thank you so much for the help! This helped me remove alot of unnecessary C++ side registered functions as I wanted this part to be done as close to Angelscript possible without needing overkill calls through registered functions in Angelscript from C++.