Papyrus Error - Game Attempts to Initialize Property No Long

Post » Thu Jun 21, 2012 4:47 am

Hi,

This error is popping up:
warning: Property GameDaysPassed on script PPop_SpawnControl attached to (1D00ADF2) cannot be initialized because the script no longer contains that property

If a script no longer contains this property, why is the game trying to initialize it?

The mod runs with no problem at I can see at the moment, because the script doesn't use property at all. However, will this cause problems in the long run?

How do I stop it from trying to initialize that property?
User avatar
I’m my own
 
Posts: 3344
Joined: Tue Oct 10, 2006 2:55 am

Post » Wed Jun 20, 2012 8:30 pm

I'd open up the quest/item/thing the script is attached to (maybe 1D00ADF2) to check the property isn't assigned a value, save and retry.
User avatar
Sweet Blighty
 
Posts: 3423
Joined: Wed Jun 21, 2006 6:39 am

Post » Wed Jun 20, 2012 3:24 pm

What chuck said.

This seems to happen if a script had a property which was set to a value, but that property has since been removed from the script without opening and closing the Properties window for the script.
User avatar
Amy Cooper
 
Posts: 3400
Joined: Thu Feb 01, 2007 2:38 am

Post » Wed Jun 20, 2012 6:08 pm

Also script information sticks to the save, so you have to be extra special careful about things like this.
User avatar
m Gardner
 
Posts: 3510
Joined: Sun Jun 03, 2007 8:08 pm

Post » Wed Jun 20, 2012 7:07 pm

Thanks! I'll open the Properties window to get it cleared.

@Arthmoor: Really? So there's no way to stop those save files from initializing the property, and logging those errors?
User avatar
darnell waddington
 
Posts: 3448
Joined: Wed Oct 17, 2007 10:43 pm

Post » Wed Jun 20, 2012 9:10 pm

Try removing the script, then reattaching it/filling properties. Properties will actually get wiped when the script is pulled as that's all stored in the record(s) the script is attached to... If you remove a property, then add it back, note that it'll automatically point to wherever it was previously pointing at whereas, if the script is removed and added, the slate is wiped clean.
User avatar
Michael Korkia
 
Posts: 3498
Joined: Mon Jul 23, 2007 7:58 pm

Post » Thu Jun 21, 2012 5:48 am

Thanks! I'll open the Properties window to get it cleared.

@Arthmoor: Really? So there's no way to stop those save files from initializing the property, and logging those errors?
Yep, really. I have stuff like this still lurking on my saves from changes that were done eons ago, even with removing and reattaching the script.
User avatar
Rebekah Rebekah Nicole
 
Posts: 3477
Joined: Fri Oct 13, 2006 8:47 pm


Return to V - Skyrim