diff --git a/modules/props/props/prop_data_light.cpp b/modules/props/props/prop_data_light.cpp index b228aa21b..a71139efe 100644 --- a/modules/props/props/prop_data_light.cpp +++ b/modules/props/props/prop_data_light.cpp @@ -51,6 +51,10 @@ void PropDataLight::_processor_process(Ref prop_data, Node *node, cons ERR_FAIL_COND(!i); + if (i->is_editor_only()) { + return; + } + Ref l; l.instance(); l->set_light_color(i->get_color());