Scene always appears invalid/corrupt every restart

Godot Version

4.2.1

Question

Scene always appears invalid/corrupt every force restart or pc reload.
To open it i need to delete script attachment via opening scene in visual studio.
After that i can attach a script again and it will work until next pc restart or force quit.
Error:
scene/resources/resource_format_text.cpp:284 - res://scenes/battlers/test_battler.tscn:12 - Parse Error:
Failed loading resource: res://scenes/battlers/test_battler.tscn. Make sure resources have been imported by opening the project in the editor at least once.
Failed to instantiate scene state of “res://scenes/battlers/test_battler.tscn”, node count is 0. Make sure the PackedScene resource is valid.
Scene:
[gd_scene load_steps=6 format=3 uid=“uid://b4w3tmxl1xetd”]

[ext_resource type=“Script” path=“res://scripts/battle/battlers/battler_class.gd” id=“1_l2u8j”]
[ext_resource type=“PackedScene” uid=“uid://d05kw5o1v13bf” path=“res://models/test/test_mannequin.tscn” id=“2_x4eu4”]
[ext_resource type=“PackedScene” uid=“uid://b7l4qmpa651rl” path=“res://scenes/ui/health_bar.tscn” id=“3_sj134”]
[ext_resource type=“PackedScene” uid=“uid://dhexmj7pivby6” path=“res://scenes/ui/miss.tscn” id=“4_2rviq”]

[sub_resource type=“ViewportTexture” id=“ViewportTexture_5h1w6”]
viewport_path = NodePath(“health_bar”)

[node name=“test_battler” type=“Node3D” node_paths=PackedStringArray(“health_bar”, “miss_node”)]
script = ExtResource(“1_l2u8j”)
health_bar = NodePath(“health_bar/health_bar”)
miss_node = NodePath(“health_bar/miss”)

[node name=“model” parent=“.” instance=ExtResource(“2_x4eu4”)]

[node name=“health_bar” type=“SubViewport” parent=“.”]
transparent_bg = true
size = Vector2i(910, 272)

[node name=“health_bar” parent=“health_bar” node_paths=PackedStringArray(“battler”) instance=ExtResource(“3_sj134”)]
visible = false
battler = NodePath(“…/…”)

[node name=“miss” parent=“health_bar” instance=ExtResource(“4_2rviq”)]

[node name=“hp_bar_billboard” type=“Sprite3D” parent=“.”]
transform = Transform3D(0.25, 0, 0, 0, 0.25, 0, 0, 0, 0.25, 0, 1.13436, 0)
billboard = 2
no_depth_test = true
texture = SubResource(“ViewportTexture_5h1w6”)