-
Notifications
You must be signed in to change notification settings - Fork 6
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
Object reference not set to an instance of an object when running (scn/retire ::player) #10
Comments
I made a workaround to progress in the tutorial by creating an empty object and adding all GOs as children to it, and destroying all children on that GO when running setup again.
|
Here's a whole working example:
|
@saikyun Thanks for this, with your work-around and working example, was able to get through the tutorial with 2018.1.0f2. |
@sogaiu Cool! I'm happy to hear that. :) |
Commenting out: (scn/register bullet ::bullet) seems to be another work-around. I think the current situation may have something to do with:
I got the impression that the label-registry gets out of sync with which bullet objects still exist -- arcadia.scene/register is used to track them, but arcadia.core/retire is used to directly get rid of them, so this leaves the label-registry referring to no longer valid bullet objects. Or something like that :) |
When trying to follow the tutorial (https://github.com/arcadia-unity/fighter-tutorial#building-the-players-avatar), I get the following error when running
(setup)
a second time:NullReferenceException Object reference not set to an instance of an object Arcadia.HookStateSystem.Lookup (/Users/jona/unity/arcadia-test-2/Assets/Arcadia/Helpers/HookStateSystem.cs:49)
This happens when
(scn/retire ::player)
is ran (I tested running setup once and then just running(scn/retire ::player)
in the repl).Haven't been able to figure out why.
I use macOS Sierra and Unity 2017.3.1f1. I've tried with arcadia that comes with this repo and with arcadia from the develop-branch.
The text was updated successfully, but these errors were encountered: