diff --git a/tests/test_blueprint.py b/tests/test_blueprint.py index 5f755848f..5a8e8f020 100644 --- a/tests/test_blueprint.py +++ b/tests/test_blueprint.py @@ -29,6 +29,7 @@ def test_spawn(self): def test_variable(self): new_blueprint = ue.create_blueprint(Character, '/Game/Tests/Blueprints/Test2_' + self.random_string) ue.blueprint_add_member_variable(new_blueprint, 'TestValue', 'int') + ue.blueprint_set_variable_visibility(new_blueprint, 'TestValue', 1) ue.compile_blueprint(new_blueprint) new_actor = self.world.actor_spawn(new_blueprint.GeneratedClass) new_actor.TestValue = 17