Jump to content

Stale Component Reference


Recommended Posts

[12:02:44]: Stale Component Reference: GUID 459088, scripts/entityscript.lua:955[12:02:45]: Stale Component Reference: GUID 355488, scripts/entityscript.lua:955[12:02:45]: Stale Component Reference: GUID 465949, scripts/entityscript.lua:955[12:02:46]: Stale Component Reference: GUID 466693, scripts/entityscript.lua:955

​How to fix that? How to find the problem?

Link to comment
Share on other sites

@Maris, do you have any AddClassPostConstruct in the mods running?

Any custom HUD elements? Badges?

 

Maybe if a component/replica is directly linked (not using values via using functions to the component/replica) to a badge/HUD element, when a player disconnects, the link isn't severed properly. So a reference persists server side and it gets stale.

 

e.g

local Badge = Class(Widget, function(self, anim, owner)    Widget._ctor(self, "Badge")    self.owner = owner		self.healthrep = owner.replica.health -- like this	self.healthcom = owner.components.health -- or thisend

or something of the like via AddClassPostConstruct?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...