decentraland / decentraland/unity-explorer
System.NullReferenceException: Object reference not set to an instance of an object.
- Dominant language
- C#
- Stars
- 23
- Forks
- 17
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 101
Description
Sentry Issue: [UNITY-EXPLORER-PWF](https://decentraland.sentry.io/issues/7702775015/)
```
System.NullReferenceException: Object reference not set to an instance of an object.
File "C:/workspace/workspace/p/Explorer/Assets/DCL/Infrastructure/ScenePermissions/RestrictedJsApiPermissionsProvider.cs", line 13, in .ctor
File "C:/workspace/workspace/p/Explorer/Assets/DCL/Infrastructure/SceneLifeCycle/Systems/LoadSmartWearableSceneSystem.cs", line 92, in FlowInternalAsync
File "C:/workspace/workspace/p/Explorer/Assets/DCL/Infrastructure/SceneLifeCycle/Systems/LoadSmartWearableSceneSystem.cs", line 118, in GetCrdtAsync
File "C:/workspace/workspace/p/Explorer/Assets/DCL/WebRequests/ArtificialDelayWebRequestController.cs", line 35, in MoveNext
File "C:/workspace/workspace/p/Explorer/Assets/DCL/WebRequests/DebugMetricsWebRequestController.cs", line 37, in MoveNext
...
(85 additional frame(s) were not displayed)
```
This issue was automatically created by Sentry via [Explorer Alpha Github Issue Creation](https://sentry.io/organizations/decentraland/monitors/alerts/3130340/)
Contributor guide
Research direction
Start with Assets/DCL/Infrastructure/ScenePermissions/RestrictedJsApiPermissionsProvider.cs at line 13, then follow its construction from LoadSmartWearableSceneSystem.cs at lines 92 and 118. Reproduce the smart wearable scene loading path and identify the null value; done means this Sentry NullReferenceException no longer occurs during that flow.
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