bake light for boxes created with c++

Remove this line


BoxVisual->SetMobility(EComponentMobility::Static);