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

Null Reference in Raycast on world switching #2209

Open
NickKhalow opened this issue Sep 27, 2024 · 0 comments · May be fixed by #2245
Open

Null Reference in Raycast on world switching #2209

NickKhalow opened this issue Sep 27, 2024 · 0 comments · May be fixed by #2245
Assignees
Labels
1-high Very important but not critical or game breaking bug Something isn't working
Milestone

Comments

@NickKhalow
Copy link
Collaborator

Caught in Editor

Issue Description:

During teleportation between worlds I caught this error. I've been teleporting genesis->goerli->boedo->olavra circularry

NullReferenceException: Object reference not set to an instance of an object UnityEngine.Pool.CollectionPool2+<>c[TCollection,TItem].<.cctor>b__5_1 (TCollection l) (at /Users/bokken/build/output/unity/unity/Runtime/Export/ObjectPool/CollectionPool.cs:7)
UnityEngine.Pool.ObjectPool1[T].Release (T element) (at /Users/bokken/build/output/unity/unity/Runtime/Export/ObjectPool/ObjectPools.cs:108) UnityEngine.Pool.CollectionPool2[TCollection,TItem].Release (TCollection toRelease) (at /Users/bokken/build/output/unity/unity/Runtime/Export/ObjectPool/CollectionPool.cs:26)
DCL.Interaction.Raycast.Systems.ExecuteRaycastSystem.Dispose () (at Assets/DCL/Interaction/Raycast/Systems/ExecuteRaycastSystem.cs:81)
Arch.SystemGroups.ExecutionNode1[T].Dispose () (at ./Library/PackageCache/com.arch.systemgroups@bd58275fb1/ExecutionNode.cs:48) Arch.SystemGroups.CustomGroupBase1[T].DisposeInternal () (at ./Library/PackageCache/com.arch.systemgroups@bd58275fb1/Groups/CustomGroupBase.cs:95)
Arch.SystemGroups.DefaultGroup1[T].Dispose () (at ./Library/PackageCache/com.arch.systemgroups@bd58275fb1/Groups/DefaultGroup.cs:30) Arch.SystemGroups.ExecutionNode1[T].Dispose () (at ./Library/PackageCache/com.arch.systemgroups@bd58275fb1/ExecutionNode.cs:44)
Arch.SystemGroups.CustomGroupBase1[T].DisposeInternal () (at ./Library/PackageCache/com.arch.systemgroups@bd58275fb1/Groups/CustomGroupBase.cs:95) ECS.Groups.SyncedGroup.Dispose () (at Assets/Scripts/ECS/Groups/SyncedGroup.cs:85) Arch.SystemGroups.ExecutionNode1[T].Dispose () (at ./Library/PackageCache/com.arch.systemgroups@bd58275fb1/ExecutionNode.cs:44)
Arch.SystemGroups.SystemGroup.Dispose () (at ./Library/PackageCache/com.arch.systemgroups@bd58275fb1/SystemGroup.cs:78)
Arch.SystemGroups.SystemGroupWorld.Dispose () (at ./Library/PackageCache/com.arch.systemgroups@bd58275fb1/SystemGroupWorld.cs:45)
SceneRunner.ECSWorld.ECSWorldFacade.Dispose () (at Assets/Scripts/SceneRunner/ECSWorld/ECSWorldFacade.cs:70)
SceneRunner.SceneInstanceDependencies.Dispose () (at Assets/Scripts/SceneRunner/SceneInstanceDeps.cs:167)
SceneRunner.SceneFactory.CreateSceneAsync (SceneRunner.Sc`

STR:

  1. Constantly teleport between described locations

Evidence:

Additional Notes:

@NickKhalow NickKhalow added the bug Something isn't working label Sep 27, 2024
@github-actions github-actions bot added the new Issues to triage label Sep 27, 2024
@m3taphysics m3taphysics added 1-high Very important but not critical or game breaking and removed new Issues to triage labels Sep 30, 2024
@NickKhalow NickKhalow linked a pull request Oct 1, 2024 that will close this issue
@NickKhalow NickKhalow linked a pull request Oct 1, 2024 that will close this issue
@aixaCode aixaCode added this to the Beta Release milestone Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-high Very important but not critical or game breaking bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants