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

Resource is sometimes null in EnsureLayerExists, causing an error #32

Open
trundlr opened this issue Aug 15, 2024 · 1 comment
Open
Assignees

Comments

@trundlr
Copy link
Contributor

trundlr commented Aug 15, 2024

Value cannot be null. (Parameter 'key')
System.ThrowHelper.ThrowArgumentNullException
System.Collections.Generic.Dictionary`2.FindValue
Sandbox.Sdf.SdfWorld`6.EnsureLayerExists(SdfWorld.cs:487)
Sandbox.Sdf.SdfWorld`6.AddAsync(SdfWorld.cs:511)
Sandbox.Sdf.SdfWorld`6.ReadRange(SdfWorld.cs:318)
Sandbox.Sdf.SdfWorld`6.Read(SdfWorld.cs:298)
Sandbox.Sdf.SdfWorld`6+<>c__DisplayClass8_0.<Rpc_SendModifications>b__0(SdfWorld.Network.cs:62)
Sandbox.Rpc.Resume(Rpc.cs:85)

This error seems to be quite rare:
image

@Metapyziks Metapyziks self-assigned this Aug 15, 2024
@trundlr
Copy link
Contributor Author

trundlr commented Sep 7, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants