Unity C# reference source code.
This report presents the forensic synthetic code analysis of Unity-Technologies/UnityCsReference, a C# project with 12,915 GitHub stars. SynthScan v2.0 examined 1,841,396 lines of code across 8057 source files, recording 5089 pattern matches distributed across 11 syntactic categories. The overall adjusted score of 3.0 places this repository in the Likely human-written band.
The scanner applied 160+ deterministic lexical heuristics, multi-line block detectors, abstract syntax tree depth profilers, and a cross-file Jaccard similarity matrix to construct a statistically normalised synthetic code estimate. All matches are individually weighted by severity coefficient and contextual multiplier before summation, and the resulting headline score is temporally discounted to account for the repository's development history relative to the commercial emergence of large language model coding tooling (November 2022 onward).
This chart maps the temporal evolution of the adjusted synthetic code score across successive scan runs. An upward trajectory indicates ongoing incorporation of AI-generated code or expanding LLM-assisted scaffolding; a stable or declining trajectory may reflect active human refactoring, code removal, or the adoption of stricter authorship policies. The dashed secondary line (right axis) independently tracks total raw pattern hit count, which can diverge from the normalised score when codebase size changes significantly between scans.
Classifies detected patterns by their diagnostic confidence and structural impact. CRITICAL patterns (coefficient 10) represent definitive synthetic signatures — hallucinated imports, explicit LLM attribution metadata — virtually never produced by human authors. HIGH (5) indicates strong structural tells such as cross-file repetition or cross-linguistic idioms. MEDIUM (2) covers recognisable conversational padding and AI-specific vocabulary. LOW (1) captures subtle indicators like tautological comments and generic boilerplate that require density to carry independent signal.
This horizontal bar chart decomposes the repository's raw synthetic code score by top-level directory, allowing you to pinpoint precisely which modules or components carry the highest AI authorship density. Directories with disproportionately high scores relative to their size warrant targeted manual review: concentrated AI signatures often trace back to mass-generated configuration layers, auto-ported test suites, LLM-scaffolded boilerplate classes, or entire subsystems authored under heavy copilot assistance. Use this view to prioritise your human code-review effort.
The scanner identified 5089 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a statistically significant AI authorship indicator. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the diagnostic confidence level (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — comment-context matches receive a ×1.5 weight because LLMs systematically over-annotate. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier as dense clusters constitute far stronger evidence of synthetic authorship than isolated hits.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ls/Unity.SerializationLogic/Properties/AssemblyInfo.cs | 21 | // Setting ComVisible to false makes the types in this assembly not visible | COMMENT |
| LOW | …LifecycleManagement/DomainReloadLifecycleController.cs | 21 | /// - Enter/Exit assembly load related lifecycle scopes | COMMENT |
| LOW | Runtime/Profiler/ScriptBindings/ProfilerCategory.cs | 61 | /// <summary> | COMMENT |
| LOW | Runtime/Profiler/ScriptBindings/ProfilerCategory.cs | 81 | /// <summary> | COMMENT |
| LOW | Runtime/Profiler/ScriptBindings/ProfilerCategory.cs | 101 | /// <summary> | COMMENT |
| LOW | Runtime/Profiler/ScriptBindings/ProfilerCategory.cs | 121 | /// <summary> | COMMENT |
| LOW | Runtime/Export/Scripting/CurrentAssemblies.cs | 21 | public static partial class CurrentAssemblies | COMMENT |
| LOW | Runtime/Export/Scripting/CurrentAssemblies.cs | 61 | COMMENT | |
| LOW | Runtime/Export/Scripting/EntityIdStore.bindings.cs | 61 | public static extern bool EntityIdStorePlatformSupportsVirtualMemory(); | COMMENT |
| LOW | Runtime/Export/Scripting/EntityIdStore.bindings.cs | 81 | // context.PlatformSupportsVirtualMemory, matching the native side. It cannot be a | COMMENT |
| LOW | Runtime/Export/Scripting/EntityIdStore.bindings.cs | 381 | IntegrityCheck(i); | COMMENT |
| LOW | Runtime/Export/Scripting/EntityIdStore.bindings.cs | 421 | internal static readonly SharedStatic<EntityIdPool> Pool = | COMMENT |
| LOW | Runtime/Export/Scripting/UnityEngineObject.bindings.cs | 341 | if (!CurrentThreadIsMainThread()) | COMMENT |
| LOW | Runtime/Export/Scripting/LazyLoadReference.cs | 21 | // as the scene, even if they are not needed right away. Having lazy loading can make loading scene faster for th | COMMENT |
| LOW | Runtime/Export/Scripting/LazyLoadReference.cs | 41 | /// Determines if the reference is linked to an asset, loaded or not, valid or not. | COMMENT |
| LOW | Runtime/Export/Scripting/WaitTimeoutMode.cs | 1 | // Unity C# reference source | COMMENT |
| LOW | Runtime/Export/ObjectPool/GenericPool.cs | 1 | // Unity C# reference source | COMMENT |
| LOW | Runtime/Export/ObjectPool/GenericPool.cs | 21 | public static T Get() => s_Pool.Get(); | COMMENT |
| LOW | Runtime/Export/ObjectPool/RentSpan.cs | 1 | // Unity C# reference source | COMMENT |
| LOW | Runtime/Export/ObjectPool/RentSpan.cs | 21 | [VisibleToOtherModules] | COMMENT |
| LOW | Runtime/Export/ObjectPool/RentSpanUnmanaged.cs | 21 | /// </remarks> | COMMENT |
| LOW | Runtime/Export/ObjectPool/RentSpanUnmanaged.cs | 41 | /// buffer.Span[0] = 42; | COMMENT |
| LOW | Runtime/Export/ObjectPool/ObjectPools.cs | 41 | /// Number of objects that are currently available in the pool. | COMMENT |
| LOW | Runtime/Export/ObjectPool/UnsafeGenericPool.cs | 1 | // Unity C# reference source | COMMENT |
| LOW | Runtime/Export/ObjectPool/UnsafeGenericPool.cs | 21 | /// Returns an object from the pool. | COMMENT |
| LOW | Runtime/Export/ObjectPool/PooledObject.cs | 1 | // Unity C# reference source | COMMENT |
| LOW | Runtime/Export/Input/EventModifers.cs | 21 | /// The Shift key is pressed. | COMMENT |
| LOW | Runtime/Export/Input/KeyCode.cs | 721 | // We could expose all 10 joysticks here, but I think that a user would rarely want to explicitly | COMMENT |
| LOW | Runtime/Export/Loadable/LoadableSceneId.cs | 21 | /// <summary> | COMMENT |
| LOW | Runtime/Export/Loadable/LoadableSceneId.cs | 41 | /// In the Player, <see cref="SceneManager.LoadSceneAsync(LoadableSceneId, LoadSceneParameters)"/> loads the scene f | COMMENT |
| LOW | Runtime/Export/Loadable/LoadableObjectId.bindings.cs | 21 | /// to identify and load a specific object from built content. | COMMENT |
| LOW | Runtime/Export/RenderPipeline/RendererList.bindings.cs | 181 | /// <summary> | COMMENT |
| LOW | Runtime/Export/RenderPipeline/RendererList.bindings.cs | 201 | /// <summary> | COMMENT |
| LOW | Runtime/Export/Camera/Camera.bindings.cs | 541 | } | COMMENT |
| LOW | …xport/Serialization/SerializationCommandObjectTable.cs | 1 | // Unity C# reference source | COMMENT |
| LOW | …xport/Serialization/SerializationCommandObjectTable.cs | 21 | /// </summary> | COMMENT |
| LOW | Runtime/Export/Serialization/DictionarySerialization.cs | 41 | internal const string ValueFieldName = nameof(SerializedKeyValue<int, int>.value); | COMMENT |
| LOW | Runtime/Export/Serialization/DictionarySerialization.cs | 421 | /// <see cref="DictionaryField"/> ctor's default-allocate behavior at | COMMENT |
| LOW | …port/Serialization/IDuplicateEntriesForDictionaries.cs | 1 | // Unity C# reference source | COMMENT |
| LOW | …port/Serialization/IDuplicateEntriesForDictionaries.cs | 21 | /// <see cref="indices"/> and <see cref="entries"/> of the same length. Producers must additionally pass | COMMENT |
| LOW | …port/Serialization/IDuplicateEntriesForDictionaries.cs | 61 | COMMENT | |
| LOW | …Serialization/SerializationPerfTestHarness.bindings.cs | 1 | // Unity C# reference source | COMMENT |
| LOW | …zation/SerializationBackendManagedCommands.bindings.cs | 21 | COMMENT | |
| LOW | …zation/SerializationBackendManagedCommands.bindings.cs | 141 | } | COMMENT |
| LOW | …zation/SerializationBackendManagedCommands.bindings.cs | 601 | // strings, and any future variable-size payloads). | COMMENT |
| LOW | …zation/SerializationBackendManagedCommands.bindings.cs | 681 | // IsThreadSafe disables the default serialization-thread guard (the icall | COMMENT |
| LOW | …zation/SerializationBackendManagedCommands.bindings.cs | 841 | // | COMMENT |
| LOW | …zation/SerializationBackendManagedCommands.bindings.cs | 861 | // emit the clickable duplicate-key Console warning when the read side | COMMENT |
| LOW | …zation/SerializationBackendManagedCommands.bindings.cs | 881 | // this cap is guaranteed to fit at ctx->writerPtr without re-checking. | COMMENT |
| LOW | …zation/SerializationBackendManagedCommands.bindings.cs | 921 | COMMENT | |
| LOW | …zation/SerializationBackendManagedCommands.bindings.cs | 941 | // child object so `fixed (byte* p = &wrapped.Data)` pins the first byte | COMMENT |
| LOW | …zation/SerializationBackendManagedCommands.bindings.cs | 961 | // exposed by the netstandard2.1 reference assembly this file builds | COMMENT |
| LOW | …zation/SerializationBackendManagedCommands.bindings.cs | 981 | } | COMMENT |
| LOW | …zation/SerializationBackendManagedCommands.bindings.cs | 1041 | ExecuteWriteCommands(ctx, pinnedBase, entriesPtr, entryBufferSize, transfer, | COMMENT |
| LOW | …zation/SerializationBackendManagedCommands.bindings.cs | 1701 | // Writes a string (length prefix + UTF-8 body + 4-byte alignment pad) into the | COMMENT |
| LOW | …zation/SerializationBackendManagedCommands.bindings.cs | 2041 | Debug.LogException(e); | COMMENT |
| LOW | …zation/SerializationBackendManagedCommands.bindings.cs | 2101 | (IntPtr)nestedStart, nestedBytes, transfer, ref output, ref dstSize, ref pendingAdvance, repeatCount | COMMENT |
| LOW | …zation/SerializationBackendManagedCommands.bindings.cs | 2121 | // missed when the parent ctor populates them. | COMMENT |
| LOW | …zation/SerializationBackendManagedCommands.bindings.cs | 2141 | // missing-type) are invoked via `delegate* unmanaged[Cdecl]<...>` calli | COMMENT |
| LOW | …zation/SerializationBackendManagedCommands.bindings.cs | 2161 | // .cpp / ResolveMissingTypeForGather) formats the template by substituting | COMMENT |
| 4891 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | …mance/Management/AdaptivePerformanceManagerSettings.cs | 117 | /// <returns>The active loader as requested type, or null if no active loader currently exists.</returns> | COMMENT |
| HIGH | Modules/Mathematics/Managed/float3x2.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/float2x2.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/double4.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/half3.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/bool3x2.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/bool2x2.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/double3x4.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/double2x4.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/uint4x2.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/float3.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/uint3x4.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/uint2x4.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/bool4x4.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/int3.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/double4x2.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/int4x3.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/float4x4.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/uint3.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/bool3.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/uint4x4.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/double3x2.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/double2x2.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/bool3x4.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/bool2x4.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/int3x3.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/int2x3.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/float3x4.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/float2x4.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/double2.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/float4x2.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/double4x4.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/bool4x2.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/uint3x2.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/uint2x2.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/bool4.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/float2.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/uint4x3.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/bool2x3.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/bool3x3.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/int2x4.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/int3x4.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/float2x3.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/float3x3.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/half2.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/uint2.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/int2.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/double4x3.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/int4x2.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/half4.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/double3.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/double2x3.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/double3x3.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/int2x2.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/int3x2.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/float4.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/bool2.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/matrix.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/uint2x3.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| HIGH | Modules/Mathematics/Managed/uint3x3.gen.cs | 7 | // This code was generated by a tool. | COMMENT |
| 5 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | Modules/UIElementsEditor/Debugger/OverlayPainter.cs | 108 | var rectParams = UnityEngine.UIElements.UIR.MeshGenerator.RectangleParams.MakeSolid(rect, color, playModeTin | CODE |
| CRITICAL⚡ | Modules/UIElementsEditor/Debugger/OverlayPainter.cs | 131 | var rectParams = UnityEngine.UIElements.UIR.MeshGenerator.RectangleParams.MakeSolid(topRect, color, playMode | CODE |
| CRITICAL⚡ | Modules/UIElementsEditor/Debugger/OverlayPainter.cs | 134 | rectParams = UnityEngine.UIElements.UIR.MeshGenerator.RectangleParams.MakeSolid(bottomRect, color, playModeT | CODE |
| CRITICAL⚡ | Modules/UIElementsEditor/Debugger/OverlayPainter.cs | 137 | rectParams = UnityEngine.UIElements.UIR.MeshGenerator.RectangleParams.MakeSolid(rightRect, color, playModeTi | CODE |
| CRITICAL⚡ | Modules/UIElementsEditor/Debugger/OverlayPainter.cs | 140 | rectParams = UnityEngine.UIElements.UIR.MeshGenerator.RectangleParams.MakeSolid(lefRect, color, playModeTint | CODE |
| CRITICAL | Modules/QuickSearch/Editor/Providers/AdbProvider.cs | 94 | var parsedQuery = UnityEditor.Search.Providers.AdbProvider.adbExplicitQueryEngine.ParseQuery(query); | CODE |
| CRITICAL | Modules/QuickSearch/Editor/Indexing/SearchDatabase.cs | 1116 | Unity.Profiling.LowLevel.Unsafe.ProfilerUnsafeUtility.SetMarkerMetadata( | CODE |
| CRITICAL | Modules/QuickSearch/Editor/Indexing/SearchDatabase.cs | 1129 | Ptr = Unity.Collections.LowLevel.Unsafe.UnsafeUtility.AddressOf(ref nanoseconds) | CODE |
| CRITICAL | Modules/QuickSearch/Editor/Indexing/SearchDatabase.cs | 1131 | Unity.Profiling.LowLevel.Unsafe.ProfilerUnsafeUtility.SingleSampleWithMetadata(k_IndexingRequestCounter.Hand | CODE |
| CRITICAL | Modules/U2DRuntime/Managed/UTess2D/ArraySlice.cs | 38 | m_Safety = Unity.Collections.LowLevel.Unsafe.NativeArrayUnsafeUtility.GetAtomicSafetyHandle(array); | CODE |
| CRITICAL | Modules/U2DRuntime/Managed/UTess2D/ArraySlice.cs | 57 | m_Safety = Unity.Collections.LowLevel.Unsafe.NativeArrayUnsafeUtility.GetAtomicSafetyHandle(array.m_Array); | CODE |
| CRITICAL | …cessors/ScriptBindings/ScriptableGenerator.bindings.cs | 643 | var buffer = new Span<float>(args->AudioBuffer, storage.Header.Configuration.Setup.speakerMode.C | CODE |
| CRITICAL | …cessors/ScriptBindings/ScriptableGenerator.bindings.cs | 644 | var channelBuffer = new ChannelBuffer(buffer, storage.Header.Configuration.Setup.speakerMode.Cha | CODE |
| CRITICAL | Modules/GraphViewEditor/LineView.cs | 43 | mgc.meshGenerator.DrawRectangle(UnityEngine.UIElements.UIR.MeshGenerator.RectangleParams.MakeSolid(lineR | CODE |
| CRITICAL | …ules/UIElements/Core/Renderer/UIRMeshManagerTracked.cs | 212 | RawSlice srcVerts = update.meshHandle.allocPage.vertices.cpuData.Slice((int)update.meshHandle.allocV | CODE |
| CRITICAL | Modules/UIElements/Core/Renderer/UIRPainter2D.cs | 619 | vectorImagePtr = m_Ctx.renderData.parent.renderTree.m_GCHandlePool.GetIntPtr(vi); | CODE |
| CRITICAL | Modules/UIElements/Core/Renderer/UIRPainter2D.cs | 784 | vectorImagePtr = m_Ctx.renderData.parent.renderTree.m_GCHandlePool.GetIntPtr(vi); | CODE |
| CRITICAL | Modules/UIElements/Core/Renderer/UIRPainter2D.cs | 789 | texturePtr = m_Ctx.renderData.parent.renderTree.m_GCHandlePool.GetIntPtr(m_CachedFillTexture); | CODE |
| CRITICAL | Editor/Mono/CodeEditor/SyncVS.cs | 22 | Unity.CodeEditor.CodeEditor.Editor.CurrentCodeEditor.SyncAll(); | CODE |
| CRITICAL | Editor/Mono/UIElements/Controls/CurveField.cs | 552 | var rectParams = UnityEngine.UIElements.UIR.MeshGenerator.RectangleParams.MakeTextured( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …Unity.Scripting/LifecycleManagement/CodeLoadedScope.cs | 71 | // before running the callbacks, we update the generation and current cancellation token, so that the callba | COMMENT |
| MEDIUM | …Unity.Scripting/LifecycleManagement/CodeLoadedScope.cs | 78 | // before running the callbacks, we update the generation and current cancellation token, so that the callba | COMMENT |
| MEDIUM | …dules/UnityConnectEditor/Common/NotificationManager.cs | 132 | //Hopefully each Subscriber will be robust enough that it won't happen. But worst case, we will outp | COMMENT |
| MEDIUM | …dules/UnityConnectEditor/Common/NotificationManager.cs | 167 | //Hopefully each Subscriber will be robust enough that it won't happen. But worst case, we will | COMMENT |
| MEDIUM | …rofilerModules/Screenshots/ScreenshotIndexCatalogue.cs | 232 | // the last kept one (robust — confirms the picture actually changed, and collapses runs longer | COMMENT |
| MEDIUM | …ed/MultiplayerPlayMode/Scenarios/Api/ExecutionStage.cs | 9 | /// Instances use these stages to process groups of nodes, while Scenarios leverage | COMMENT |
| MEDIUM | …ementsEditor/Profiler/PanelComponentsPaneController.cs | 370 | // (4) No-selection overlay. Absolutely positioned so toggling it doesn't reflow the | COMMENT |
| MEDIUM | …hysicsCore2D/Scripting/Assets/PhysicsCoreSettings2D.cs | 184 | /// Essentially there are some internal tolerances, such as how close two shapes need to be before they are cons | COMMENT |
| LOW | Modules/UIElements/Core/StyleEnums.cs | 246 | /// The VisualElement is hidden. Hidden VisualElements will take up space in their parent layout if their positi | COMMENT |
| MEDIUM | Modules/UIElements/Core/VectorImage.cs | 32 | /// <see cref="Mirror"/> repeats the gradient, but mirrors it at every integer boundary, creating a seamless mirrore | COMMENT |
| MEDIUM | Modules/UIElements/Core/VectorImage.cs | 45 | /// Repeats the gradient, but mirrors it at every integer boundary, creating a seamless mirrored tiling. | COMMENT |
| MEDIUM | Modules/UIElements/Core/Controls/TabView.cs | 244 | // This serves as an utility for users to leverage in their script. | COMMENT |
| MEDIUM | Modules/UIElements/Core/UXML/UxmlAttributes.cs | 384 | /// You can utilize the UxmlObjectReferenceAttribute to indicate that a property or field is | COMMENT |
| MEDIUM | …ting/ScriptCompilation/BeeDriver/UnityScriptUpdater.cs | 75 | //that we are unable to upgrade the UnityUpgradable error. So we'll only return Certainly if there is not an | COMMENT |
| MEDIUM | Editor/Mono/GI/PostProcessing.bindings.cs | 163 | // Apply windowing: Essentially SHConv3 times the window constants | COMMENT |
| MEDIUM | Editor/Mono/GI/PostProcessing.bindings.cs | 361 | // Apply windowing: Essentially SHConv3 times the window constants | COMMENT |
| MEDIUM | Editor/Mono/Inspector/TimeControl.cs | 131 | // this new code prevent this and it is compliant with new and more robust v5.0 root motion | COMMENT |
| MEDIUM | Editor/Mono/PresetLibraries/ColorPresetLibrary.cs | 135 | // comparing as Color32 is more robust due to floating point precision issues in Color comparison | COMMENT |
| MEDIUM | Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs | 570 | // the most robust and maintainable approach. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …nnectEditor/Common/UIElementsNotificationSubscriber.cs | 16 | /// Don't forget to subscribe to the topics that are of interest to your context and unsubscribed when closing | COMMENT |
| LOW | Modules/SceneTemplateEditor/SnapshotUtils.cs | 31 | // Don't forget to apply so that all operations are done. | COMMENT |
| MEDIUM⚡ | …les/UIElementsSamplesEditor/Snippets/TabViewSnippet.cs | 17 | var csharpTabViewWithLabels = new TabView() { style = { marginTop = 15 } }; // marginTop not required, only | CODE |
| MEDIUM⚡ | …les/UIElementsSamplesEditor/Snippets/TabViewSnippet.cs | 27 | var csharpTabViewWithIcons = new TabView() { style = { marginTop = 15 } }; // marginTop not required, only f | CODE |
| MEDIUM⚡ | …les/UIElementsSamplesEditor/Snippets/TabViewSnippet.cs | 37 | var csharpTabViewWithIconsAndLabels = new TabView() { style = { marginTop = 15 } }; // marginTop not require | CODE |
| MEDIUM⚡ | …les/UIElementsSamplesEditor/Snippets/TabViewSnippet.cs | 47 | var csharpReorderableTabView = new TabView() { reorderable = true, style = { marginTop = 10 } }; // marginTo | CODE |
| MEDIUM | …les/UIElementsSamplesEditor/Snippets/TabViewSnippet.cs | 62 | var cSharpCloseableTabs = new TabView() { style = { marginTop = 10 } }; // marginTop not required, only for | CODE |
| MEDIUM | …les/UIElementsSamplesEditor/Snippets/TabViewSnippet.cs | 79 | var csharpCustomStyledTabView = new TabView() { style = { marginTop = 15 } }.WithClassList("some-styled-clas | CODE |
| LOW | …Inspector/PlayerSettingsEditor/PlayerSettingsEditor.cs | 95 | public static readonly GUIContent unsetApplicationIdentifierWarning = EditorGUIUtility.TrTextContent("Don't | CODE |
| LOW | …/Mono/SerializedProperty/SerializedPropertyTreeView.cs | 631 | // don't forget to refresh selected objects that got shoved off screen | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …rofilerWindow/ProfilerModules/CPU/CPUProfilerModule.cs | 542 | // we can't always assume that there is a thread root sample, as the data may be mal formed, but | COMMENT |
| LOW | …or/UI/CommandDispatch/Commands/GraphLoadingCommands.cs | 131 | // If the graph tool doesn't allow multiple windows, we need to check if there are more than 1 window op | COMMENT |
| LOW | …tEditor/UI/Windows/AutomaticGraphProcessingObserver.cs | 98 | // We need to check if the graph was modified, but | COMMENT |
| LOW | Modules/UIElements/Core/VisualElement.cs | 2379 | // When we add an element that's already disabled to a disabled parent, we need to check if this | COMMENT |
| LOW | …IElements/Core/StyleSheets/Syntax/StyleSyntaxParser.cs | 55 | // Step 1 : either a term or group | COMMENT |
| LOW | …IElements/Core/StyleSheets/Syntax/StyleSyntaxParser.cs | 72 | // Step 2 : either a combinator or the end of the expression | COMMENT |
| LOW | …IElements/Core/StyleSheets/Syntax/StyleSyntaxParser.cs | 97 | // Step 3 : Rollback the stack of combinators and create associated expressions | COMMENT |
| LOW | Editor/Mono/Inspector/MaterialEditor.cs | 1432 | // we need to check if the range is inverted before clamping (case 1351151) | COMMENT |
| LOW | Editor/Mono/Prefabs/PrefabUtility.cs | 3159 | // So for each corresponding object we need to check if it's the Prefab root GameObject | COMMENT |
| LOW | Editor/Mono/ProjectBrowser/ProjectBrowserColumnOne.cs | 386 | else // expanded status does not get updated when deleting/moving folders. We need to check if the e | CODE |
| LOW | Editor/Mono/ProjectBrowser/ProjectBrowser.cs | 2315 | // This section handles selecting the folders showing their content, if right clicked outside items. | COMMENT |
| LOW | …ceneManagement/StageManager/PrefabStage/PrefabStage.cs | 454 | // In Playmode all instances have been unpacked so we need to check if the PrefabInstanceHandle have been de | COMMENT |
| LOW | …Mono/VersionControl/Common/VCAssetModificationHooks.cs | 207 | // We need to check if the provider deleted the file itself or not. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …ing/Marshalling/BlittableNestedCollectionMarshaller.cs | 24 | /// NOTE: This class does multiple allocations and is not particularly efficient | COMMENT |
| LOW | …IElements/Core/StyleSheets/Syntax/StyleSyntaxParser.cs | 55 | // Step 1 : either a term or group | COMMENT |
| LOW | …IElements/Core/StyleSheets/Syntax/StyleSyntaxParser.cs | 72 | // Step 2 : either a combinator or the end of the expression | COMMENT |
| LOW | …IElements/Core/StyleSheets/Syntax/StyleSyntaxParser.cs | 97 | // Step 3 : Rollback the stack of combinators and create associated expressions | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | Modules/IMGUI/LayoutGroup.cs | 29 | // TODO: implement | COMMENT |
| LOW | Modules/IMGUI/LayoutGroup.cs | 39 | // TODO: implement | COMMENT |
| LOW | …/Inspector/Controls/AuthoringVariableEditingContext.cs | 94 | // TODO: implement using matching rules information from style diff | COMMENT |
| LOW | …IBuilder/Editor/Builder/Explorer/BuilderStyleSheets.cs | 152 | // TODO: Add validation | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | External/JsonParsers/MiniJson/MiniJSON.cs | 41 | // Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …dow/ProfilerModules/Memory/MemoryElementDataManager.cs | 14 | internal class MemoryElementDataManager | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …lkitEditor/GraphToolkitEditor/UI/GraphElementHelper.cs | 58 | public static readonly string placeholderUssModifier = "placeholder"; | CODE |