My code is not working i really don't know what the issue is

so basically, I have a questing system in my game and here is the code for it

so the questing system works fine and all

but when I add a quest it gets added to a game object in my game and that’s fine
as u can see the Quest.cs has a property called QuestName

And this Property is set in the Quest_Test_1 Code

if I debug the quest name in the Quest_Test_1 code it debugs just fine

Debug.log(QuestName);

in this code

the update info in this code

the debug here works fine also

Debug.log(Quest.gameObject.name)
it returns the gameObjects name fine

even if I type

Debug.log(Quest)

it returns Quest_Test_1

Which is what I want

if I type Debug.log(Quest.QuestName)

Which is a property its returns NULL!

remember when I typed in the Quest_Test_1 class Debug.log(QuestName) it works

and the debug recognised its Quest_Test_1 when I debugged the Quest alone

I have been stuck on this all day please someone help me