Skip to content

FAQ and troubleshooting

Installation

Compile errors after import / pink materials / a Setup item stays red. Open Tools > AiasTech > Setup: install red packages with Open (Fix all stays disabled until they are installed), run Fix all, and use the item's own button for items that restart the editor (such as Active Input Handling).

InputSystem.inputsettings shows a yellow "Assign as the settings" banner. Expected on first import: that file does not travel in ProjectSettings. Run Setup Fix all (or the Input System settings Assign button). The game still runs on Unity defaults until then; Assign uses the asset's deadzones and update mode.

Texts show UNAVAILABLE_KEY. In the editor, run Setup. In a build, build Addressables first (see Build the game). Or the key is missing from the table.

Visuals look darker or brighter than the screenshots. Sample lighting was tuned in Gamma. In Linear, lights, fog and bloom change. Use Setup's Gamma item or retune.

First Play after import: blue flashes, wrong or stretched textures, even after "Compiling shaders" finishes. Normal on a cold shader cache in the Editor. Materials can keep a bad first-frame state in that same Play session. Press Stop, then Play again — visuals should match the sample. Wait until Unity finishes importing before the first Play (see Installation). Player builds rarely show this; it is mostly an Editor first-session quirk.

Levels

The player walks through a wall or can't enter a corridor. Check the GridMap gizmos, floor colliders, and blocking/floor layers; walls need 0.5 m into the cell. See When a cell is walkable. Props with a BoxCollider on Default also block.

A door or lever stopped responding. The UnityEvent wiring was lost. Check the lever's ButtonDown and the door's triggerMode.

Moved geometry still blocks (or doesn't). Call GridMap.Instance.InvalidateAfterMove(transform) after moving it from script (Auto Sync Transforms is off).

An enemy doesn't move or attack. Check Start Inactive, another actor in the same cell, EnemyBrain.behaviour, aggro range, an empty attackOptions, row/column alignment, or an ally in the way.

An object resets after loading a checkpoint. It has no mapId: save the scene or run Tools > AiasTech > Scene IDs > Assign In All Scenes.

"Scene '...' not found in campaign data." / Next goes to the wrong level. Add the level to CampaignData, check order and SceneName (case-sensitive), and delete the save after reordering. See Campaign and progression.

Weapons and items

A weapon disappears after loading. Run Tools > AiasTech > Generate Weapon IDs and add the prefab to Resources/WeaponRegistry.asset.

A pickup stays when I walk over it. Intentional: its effect didn't apply (duplicate key, or duplicate weapon with no ammo to gain). Health, armor, ammo and usable items are always picked up, so the items medal can't get stuck.

The weapon jumps on screen when attacking. The animation moves the weapon root. Animate a child.

Save

Start fresh: Tools > AiasTech > Cheats > Save > Delete Save.

Old save vanished after a code change: renaming, removing or retyping a save field discards old saves (kept as save.dat.invalid-*). Only adding fields is compatible.

Editor performance

FPS drops hard in Play when walking, but feels fine when the Player is not selected. Normal Editor cost, not a runtime bug. With the Player (or its prefab) selected, the Inspector redraws every frame and refreshes fields that change while you move (transform, grid cell, footstep pitch, and so on). Deselect the object, collapse the Inspector, or focus the Game view alone, then walk again — the hitch should go away. Measure real performance in a Player build, or in the Editor with nothing heavy selected in the Inspector. See also Known limitations.

Audio and visuals

A sound ignores the volume slider. Route its AudioSource to GameAudioMixer, and use AudioManager.PlayClipAt instead of AudioSource.PlayClipAtPoint.

Enemy head leaves the screen up close. Lower EnemySpriteOffset.offsetInCells or the Sprite scale (see Sprites and animation).

Sprites don't face the camera. The player camera must be tagged MainCamera and exist at scene start.