I was able to reproduce the issue you were experiencing. For some reason changing the light color seems to destroy the light render and then recreate it and as such seems to happen on the wrong thread. I’ve informed the team about this. In the meantime, I’d recommend having two lights set up with the colors that you need and switch them on/off based on what you want to accomplish.
Edit: Alternatively, you can apply the following changes to HttpClientComponent.cpp which would execute the callback on the main thread:
Add the following include:
#include <AzCore/Component/TickBus.h>
Replace MakeHttpRequest function with the following:
GameplayNotificationBus.Broadcast.OnEventBegin("q1p2-change-color")
LightComponentRequestBus.Event.SetColor(self.Properties.Light, Vector3(200,0,0))
still in version 1.8.1