Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

attempt to index field '_links' (a nil value) #13

Open
legokidlogan opened this issue Dec 21, 2024 · 2 comments
Open

attempt to index field '_links' (a nil value) #13

legokidlogan opened this issue Dec 21, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@legokidlogan
Copy link

Despite #9, it's back.

addons/cfw/lua/cfw/core/connectivity_sv.lua:68: attempt to index field '_links' (a nil value)
1.  __index - [C]:-1
 2.  disconnect - addons/cfw/lua/cfw/core/connectivity_sv.lua:68
  3.  SetParent - addons/cfw/lua/cfw/core/parenting_sv.lua:63
   4.  Function - lua/autorun/parent_childtables.lua:26
    5.  func - lua/includes/extensions/entity.lua:146
     6.  <unknown> - addons/ulib/lua/includes/modules/hook.lua:260

locals

entA   = Entity [1880][starfall_hologram]
indexB = Number [1720]

Seems to happen when parenting a serverside starfall holo at any time.

@legokidlogan
Copy link
Author

Actually, seems to happen when starfall is used to parent any kind of entity.
This wasn't a problem until after starfall PR #1919, so something in sf broke, though CFW should be made more resilient to handle cases where ._links becomes nil for whatever reason.

@wrefgtzweve
Copy link

wrefgtzweve commented Dec 24, 2024

this error just spams, it's annoying that acf forces a new dependency that has been breaking hooks for weeks now

@thecraftianman thecraftianman self-assigned this Dec 24, 2024
@thecraftianman thecraftianman added the bug Something isn't working label Dec 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants