tag

#compile

6 items (6 fixes)

fixes
26.07.15a
"[GameResource] and NavMesh.GetSimplePath are obsolete on engine 26.07: use [AssetType] and CalculatePath"

On engine 26.07 both [GameResource] and NavMesh.GetSimplePath are marked [Obsolete] (CS0618), so a zero-warnings build gate fails on them. Replace [GameResource(...)] with [AssetType(...)] and GetSimplePath with NavMesh.CalculatePath, which returns a NavMeshPath of NavMeshPathPoint (not List<Vector3>).

26.07.22
"A green compile status does not prove the new assembly loaded"

The editor can report a clean compile for both the game and editor compilers while the running assembly is still stale. A green status is necessary but not sufficient. Confirm the load with a symbol that is new this session.

26.07.22
"Commit a new .shader together with its compiled .shader_c, or it fails its first load"

A brand-new custom .shader committed without its compiled .shader_c fails its first in-editor load with a misleading 'Invalid Dependency Information' / file-not-found error chain, even when the HLSL is correct. The engine loads shaders only from .shader_c -- commit both.

26.07.15a
"Cross-assembly hot-reload throws MissingMethodException despite green compile"

Adding a public method to the game assembly and calling it from the editor-tools assembly in the same hot-reload pass throws MissingMethodException at runtime: both compile_status and dotnet build are green.

26.07.15a
"Editor compiles the checked-out tree, not a git worktree branch"

The editor compiles and verifies its ProjectRoot working tree. A branch that lives only in a git worktree is invisible to it, and compile_status results silently reflect the wrong code.

26.07.18
"Razor tag resolution ignores global usings"

Razor component tag resolution does not consult global using directives: a library component renders as an inert HTML element while its class resolves fine in code-behind.

Want to know when new guides or fixes drop? Join the community to help build this out. Report gotchas, flag outdated fixes, or just lurk.

Join the Discord