decentraland / decentraland/unity-explorer

System.NullReferenceException: Object reference not set to an instance of an object.

Open
#9,357 2 comments 0 reactions 0 assignees View on GitHub
1-high bug sentry stale web-requests
Dominant language
C#
Stars
23
Forks
17
Avg merge
2d 16h
Merged PRs (30d)
101

Description

Sentry Issue: [UNITY-EXPLORER-PDX](https://decentraland.sentry.io/issues/7580633362/)

```
System.NullReferenceException: Object reference not set to an instance of an object.
File "C:/workspace/workspace/p/Explorer/Assets/DCL/Infrastructure/SceneRuntime/Apis/Modules/SignedFetch/Messages/FlatFetchResponse.cs", line 37, in .ctor
File "C:/workspace/workspace/p/Explorer/Assets/DCL/Infrastructure/SceneRuntime/Apis/Modules/SignedFetch/SignedFetchWrap.cs", line 257, in MoveNext
File "C:/workspace/workspace/p/Explorer/Assets/DCL/WebRequests/ArtificialDelayWebRequestController.cs", line 34, in MoveNext
File "C:/workspace/workspace/p/Explorer/Assets/DCL/WebRequests/DebugMetricsWebRequestController.cs", line 34, in MoveNext
File "C:/workspace/workspace/p/Explorer/Assets/DCL/WebRequests/WebRequestController.cs", line 63, in MoveNext
...
(50 additional frame(s) were not displayed)

System.AggregateException: A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread.
```
This issue was automatically created by Sentry via [Explorer Alpha Github Issue Creation](https://sentry.io/organizations/decentraland/monitors/alerts/3130340/)

Contributor guide

Open the contributing guide

Research direction

Start with Assets/DCL/Infrastructure/SceneRuntime/Apis/Modules/SignedFetch/Messages/FlatFetchResponse.cs at line 37, then follow the call chain through SignedFetchWrap.cs line 257 and the web request controllers named in the trace. Use the linked Sentry issue to identify the triggering response and confirm the completed change no longer produces the reported NullReferenceException or an unobserved task exception.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, unity
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.