diff --git a/amaranth/render/meshlight_add.py b/amaranth/render/meshlight_add.py
index c1ca94a067f0080bb497e639e0b1325327db0374..0b78b52b36016818c65419077e3f9a6cf57df204 100644
--- a/amaranth/render/meshlight_add.py
+++ b/amaranth/render/meshlight_add.py
@@ -168,8 +168,8 @@ class AMTH_OBJECT_OT_meshlight_add(bpy.types.Operator):
             sockets.show_expanded = True
 
         material.cycles.sample_as_light = True
-        meshlight.cycles_visibility.shadow = False
-        meshlight.cycles_visibility.camera = self.visible
+        meshlight.visible_shadow = False
+        meshlight.visible_camera = self.visible
 
         return {'FINISHED'}
 
diff --git a/io_scene_fbx/import_fbx.py b/io_scene_fbx/import_fbx.py
index ee5de9c308eb25bcdb2a0a7565c5e44998f17727..7a1187300c1432357bca507b9ca741ceee19b723 100644
--- a/io_scene_fbx/import_fbx.py
+++ b/io_scene_fbx/import_fbx.py
@@ -3219,7 +3219,7 @@ def load(operator, context, filepath="",
                                 break
 
                     for obj in (obj for obj in bpy.data.objects if obj.data == mesh):
-                        obj.cycles_visibility.shadow = False
+                        obj.visible_shadow = False
     _(); del _
 
     perfmon.level_down()