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) #8

Closed
brandonsturgeon opened this issue Jun 1, 2024 · 9 comments
Closed

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

brandonsturgeon opened this issue Jun 1, 2024 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@brandonsturgeon
Copy link

brandonsturgeon commented Jun 1, 2024

I've seen this a couple of times today. Unfortunately I don't have any more context than these images:

Relevant line

Something to do with sprites maybe?

image
image

@thecraftianman thecraftianman self-assigned this Jun 3, 2024
@thecraftianman
Copy link
Member

Think this might be closed by 7331e60; lmk if it continues to show up after this or not

@brandonsturgeon
Copy link
Author

Still seeing a bit of this.

Line 68 now, where entA is an env_spritetrail

@thecraftianman
Copy link
Member

Alright, I'll take another look. Line 68 refers to entB, though; what are the locals for this particular instance of the error?

@brandonsturgeon
Copy link
Author

Here's the exact error, and here's the context
image

@brandonsturgeon
Copy link
Author

I believe this error may be related to this issue, as it's trying to loop over _links (also nil):

(context)
image

@TwistedTail
Copy link
Member

I was wondering, should it really be necessary to consider entities without a physics object when creating a contraption? I'm pretty sure this problem and others could be related to that.

@brandonsturgeon
Copy link
Author

I think if you want the library to be as useful as possible, I'd say yes.

For the purposes of ACF (and anything else I can personally think of right now), maybe not.

@TwistedTail
Copy link
Member

TwistedTail commented Jun 23, 2024

I might have a definitive fix for it on #9

@TwistedTail
Copy link
Member

Fixed on #9, closing.

@thecraftianman thecraftianman added the bug Something isn't working label Nov 1, 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