Hot Reload Crash 4.16.2

Not sure why this is happening but the code compiles fine in VS. If i build it in VS it compiles fine but the editor crashes out with a sharedpointer.h error. Start the editor back up and everything is fine. If i hit Compile in editor the same thing happens 100% of the time it results in a sharedpointer.h crash. Even if i delete binaries and run a standalone play session with dedicated server it will recompile the server causing the editor to crash out to the same error. Doesnt matter if i add a simple variable or even just change what is being displayed in a debug string always crashes.