Skip to content

Enhance null-checks for various components #718

Enhance null-checks for various components

Enhance null-checks for various components #718

Re-run triggered July 29, 2026 14:14
Status Success
Total duration 1m 25s
Artifacts

pr-check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

31 warnings
Builds
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-dotnet@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Builds: Source/Common/Syncing/Worker/SyncWorkerEntry.cs#L81
Possible null reference assignment.
Builds: Source/Common/Syncing/Worker/SyncWorkerEntry.cs#L24
Non-nullable field 'addGenericMethod' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Builds: Source/Common/Networking/ConnectionBase.cs#L245
Possible null reference argument for parameter 'target' in 'void PacketHandlerInvoker.Invoke(object target, ByteReader data)'.
Builds: Source/Common/Syncing/Worker/ReadingSyncWorker.cs#L22
Possible null reference assignment.
Builds: Source/Common/Syncing/Worker/ReadingSyncWorker.cs#L22
Converting null literal or possible null value to non-nullable type.
Builds: Source/Common/Syncing/Worker/ReadingSyncWorker.cs#L17
Possible null reference assignment.
Builds: Source/Common/Syncing/Worker/ReadingSyncWorker.cs#L17
Converting null literal or possible null value to non-nullable type.
Builds: Source/Common/Networking/NetworkingLiteNet.cs#L60
Dereference of a possibly null reference.
Builds: Source/Common/Networking/MpConnectionState.cs#L14
Possible null reference return.
Builds
ProjectReference '/home/runner/work/Multiplayer/Multiplayer/Source/Common/Common.csproj' was resolved using '.NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v8.0'. This project may not be fully compatible with your project.
Builds: Source/Common/CommandHandler.cs#L89
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(Multiplayer.Common.DevModeScope)2' is not covered.
Builds: Source/Common/Networking/NetworkingLiteNet.cs#L60
Dereference of a possibly null reference.
Builds: Source/Common/Syncing/Worker/SyncWorkerEntry.cs#L24
Non-nullable field 'addGenericMethod' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.
Builds: Source/Common/Syncing/Worker/SyncWorkerDictionaryTree.cs#L91
Possible null reference assignment.
Builds: Source/Common/Syncing/Worker/SyncWorkerDictionaryTree.cs#L84
Possible null reference assignment.
Builds: Source/Common/Networking/MpConnectionState.cs#L14
Possible null reference return.
Builds: Source/Common/Syncing/Worker/ReadingSyncWorker.cs#L22
Possible null reference assignment.
Builds: Source/Common/Syncing/Worker/ReadingSyncWorker.cs#L22
Converting null literal or possible null value to non-nullable type.
Builds: Source/Common/Syncing/Worker/ReadingSyncWorker.cs#L17
Possible null reference assignment.
Builds: Source/Common/Syncing/Worker/ReadingSyncWorker.cs#L17
Converting null literal or possible null value to non-nullable type.
Builds: Source/Common/Syncing/Worker/ReadingSyncWorker.cs#L22
Converting null literal or possible null value to non-nullable type.
Builds: Source/Common/Syncing/Worker/ReadingSyncWorker.cs#L17
Possible null reference assignment.
Builds: Source/Common/Syncing/Worker/ReadingSyncWorker.cs#L17
Converting null literal or possible null value to non-nullable type.
Builds: Source/Common/Syncing/Worker/SyncWorkerDictionaryTree.cs#L91
Possible null reference assignment.
Builds: Source/Common/Syncing/Worker/SyncWorkerDictionaryTree.cs#L84
Possible null reference assignment.
Builds: Source/Common/CommandHandler.cs#L89
The switch expression does not handle some values of its input type (it is not exhaustive) involving an unnamed enum value. For example, the pattern '(Multiplayer.Common.DevModeScope)2' is not covered.
Builds: Source/Common/Syncing/Worker/SyncWorkerEntry.cs#L116
Dereference of a possibly null reference.
Builds: Source/Common/Syncing/Worker/SyncWorkerEntry.cs#L115
Converting null literal or possible null value to non-nullable type.
Builds: Source/Common/Syncing/Worker/SyncWorkerEntry.cs#L81
Possible null reference assignment.
Builds: Source/Common/Syncing/Worker/SyncWorkerEntry.cs#L24
Non-nullable field 'addGenericMethod' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable.