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-P47](https://decentraland.sentry.io/issues/7477069213/)
```
System.NullReferenceException: Object reference not set to an instance of an object.
File "C:/workspace/workspace/p/Explorer/Assets/DCL/Profiles/Helpers/ProfileUtils.cs", line 19, in CreateProfilePicturePromise
File "C:/workspace/workspace/p/Explorer/Assets/DCL/UserInAppInitializationFlow/StartupOperations/LoadPlayerAvatarStartupOperation.cs", line 51, in InternalExecuteAsync
File "C:/workspace/workspace/p/Explorer/Assets/DCL/Profiles/Self/SelfProfile.cs", line 93, in ProfileAsync
File "C:/workspace/workspace/p/Explorer/Assets/DCL/Infrastructure/Utility/Extensions/UniTaskExtensions.cs", line 85, in MoveNext
File "C:/workspace/workspace/p/Explorer/Assets/DCL/Profiles/Repository/LogProfileRepository.cs", line 42, in GetAsync
...
(83 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/Profiles/Helpers/ProfileUtils.cs at line 19, then trace the call from LoadPlayerAvatarStartupOperation.cs line 51 through SelfProfile.cs line 93. Use the Sentry report to understand the profile-loading path and confirm the reported startup scenario. Done means this path no longer produces the reported NullReferenceException.
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
- Mostly clear
- Newbie friendliness
- 52/100