SETUP GUIDE
Input System Compatibility in Unity 6
By default, this asset uses the legacy Input Manager for backward compatibility. Since Unity 6 no longer enables the legacy Input Manager by default, you may experience non-responsive inputs.
To resolve this, choose one of the following options:
Keep Using Legacy Input: Go to Project Settings > Player and change Active Input Handling to Both . (Note: Setting this to Input Manager (Old) will not work if the new Input System package is installed in your project.)
Upgrade to New Input System: Import the provided Patch - Input System package to upgrade the default controls to the new Input System.

Layer Collision Settings
To prevent a character from colliding with its own weapon, place the character and weapon on separate layers and disable collision between those layers in your project's 2D Physics settings.
In this setup, assign characters to the Player layer and weapons to the Player Weapon layer (adjust as needed for your project structure).
To apply these settings quickly using the provided preset files:
Go to Project Settings > Physics 2D.
Click the Preset icon in the top-right corner and select the Settings - Physics 2D preset file.
Repeat this process in Project Settings > Tags and Layers using the Settings - Tags and Layers preset file.
Note: If you are applying presets to an existing project, back up your original settings before proceeding.


All the character presets are variation prefabs of Cainos\Customizable Pixel Character\Prefab\PF Pixel Character. So for overall changes you only need to modify this one.
Custom Sort Axis
It is recommended that you set Transparency Sort Mode to Custom Axis and Transparency Sort Axis to (0,0,1) at the Graphics settings.

Lighting Support
By default, the character shaders behave like an unlit sprite shader, and can be used in any render pipeline.
But if you need lighting on the character, you need to install additional shaders to make them support lighting.
Currently lighting on character only supports Universal Render Pipeline.
Universal Render Pipeline 2D Lighting
Import the patch version that corresponds to your Unity version. It will replace current character shaders with versions that support URP 2D Lighting.
Before Unity 6: Import Patch - URP 2D Lit
Unity 6.0 to 6.2: Import Patch - URP 2D Lit - Unity 6.0 to 6.2
Unity 6.3 or newer: Import Patch - URP 2D Lit - Unity 6.3 or newer
Make sure your 2D lighting is properly set up so the character can be displayed correctly.
If you are using Unity 6.4 or newer, make sure to also import the Patch - URP 2D Lit - Unity 6.4 or newer package included in the Interactive Pixel Water pack.
Universal Render Pipeline 3D Lighting
Import the patch version that corresponds to your Unity version. It will replace current character shaders with versions that support URP 3D Lighting.
Before Unity 6: Import Patch - URP Lit
Unity 6.x: Import Patch - URP Lit - Unity 6
Fixing Missing UI Text
The demo UI utilizes Text Mesh Pro. If your project does not already include it, a prompt to Import TMP Essentials will appear when you open the scene. Please complete the import and then reopen the scene to ensure the text displays correctly.
If the prompt does not appear automatically, you can trigger it manually by selecting any Text Mesh Pro object in the Hierarchy.
Skin Weights
For best animation quality, in Project Settings>Quality, Skin Weights should be set to at least 2 Bones.

Color Space
It is recommended to use Linear color space with this asset. You can find it in Project Settings/Player/Other Settings.

Sorting Order Glitch When Using Multiple Character
You may see some glitch when two characters are too close. It happens when the two characters take up the same z space. Give them different z position value will solve the problem.
You can set the character’s z scale to a smaller value like 0.1 (but avoid setting it to 0.0), so that it takes up less z space.


Parts of the Character Not Visible When Using a Background
The background may be positioned at the same z-coordinate as the character, causing it to occlude parts of the model. Since the character is not a flat plane (it has 3D depth), overlapping z-positions can result in rendering conflicts.
Adjust the background’s position by moving it backward along the z-axis (assigning it a larger z-value). This ensures proper depth sorting, allowing the character to render fully in front of the background.


Last updated