FAQ (Frequently Asked Questions)
Compatibility
Section titled “Compatibility”Is the asset compatible with Unity 6?
Of course
Is the asset compatible with Gpu Instancer asset?
Yes it is. You can use it with Gpu Instancer or do your own DrawMeshInstanced implementation.
Rendering problems
Section titled “Rendering problems”The meshes are black, how do I fix it?
Solution explained in the urp-and-post-processing-setup page, in the Black Meshes error sub-section.
Why am I getting some intense light flickering?
It’s a Unity bug that happens in some early versions of Unity 6. You just need to upgrade to 6.2 or newer.
Can the asset render things as Unlit?
Yes. Set the Light Model to None. Enable Custom Ambient Light and set the color to full white RGB (1,1,1).
In VR, specular highlights look different in each eye. Is that a bug?
No, each eye calculates its highlight from its own position, as real reflections do. With hard edged highlights on large flat faces close to the camera, the two eyes can disagree enough to be uncomfortable. Add the VR Shared Eye Shading component to your XR camera so both eyes share the same shading. See VR Shared Eye Shading.
"A BatchDrawCommand is using the pass ... which does not define a DOTS_INSTANCING_ON variant"
Your project draws these materials through Entities Graphics or the GPU Resident Drawer, and the shader was compiled without support for it. Tick Entities Graphics Instancing Support (and GPU Resident Drawer) in the 3D Shader Window’s URP Settings tab and press Apply Changes. Leave it off for WebGL 2 builds, see below.
Updating
Section titled “Updating”Materials are pink after updating the asset, or show Hidden/InternalErrorShader
Most pink materials after an update come from importing the new version on top of the old one. Files that the new version moved or renamed stay behind next to their new copies, and shaders end up including the wrong files. You see errors such as:
Shader error in 'AllIn13DShader/AllIn13DShader': Couldn't open include file '../ShaderLibrary/AllIn13DShader_FeaturesURP.hlsl'.NullReferenceException: Object reference not set to an instance of an objectAllIn13DShader.PropertiesConfig.FindEffectPropertyand materials whose shader reads Hidden/InternalErrorShader. To update cleanly:
- Move out anything you saved inside the asset’s folder. Since 2.8, bakes, presets and generated textures go to
Assets/AllIn1Exportsby default, but older versions saved them inside the asset’s folder. - Delete the asset’s folder:
Assets/Plugins/AllIn1Assets/AllIn13DShader, orAssets/Plugins/AllIn13DShaderbefore 2.8. - Restart Unity, then import the new version.
- Tick your URP features again. If you use any of the features that are off by default, such as Entities Graphics, Decals or Light Layers, tick them in the 3D Shader Window’s URP Settings tab and press Apply Changes: those choices are stored in the asset’s folder, so a fresh import starts from the defaults. See URP Shader Feature Configuration.
- If a material is still pink, pick its shader again. Select it (or several at once), open the Shader dropdown at the top of the Material Inspector, type
3DShaderand pick the shader it used. Its settings come back. Materials on the Outline and No Shadow Caster versions of the shader made with older versions need this, because those shaders changed their file IDs.
Shaders you baked with a version older than 2.21 can’t be brought up to date automatically: the console says which ones, and baking them again fixes them.
Builds and shader variants
Section titled “Builds and shader variants”Effects don’t show up in the final device build. How can I fix it?
Make sure you are not using material.Enable/DisableKeyword as mentioned in the how-to-enable-disable-effects-at-runtime section of this Documentation document. And that you are not changing the Graphics shader include settings in any way. Unity will handle shader variants for you. If you load materials through Addressables or AssetBundles, keep saved materials with the effects you use in the same group or bundle, or add a Shader Variant Collection with those combinations to it.
The WebGL build is magenta: "shader is not supported on this GPU (none of subshaders/fallbacks are suitable)"
AllIn13DShader/AllIn13DShader shader is not supported on this GPU (none of subshaders/fallbacks are suitable)The materials look right in the editor and turn magenta, or invisible, only in a WebGL build. With Entities Graphics Instancing Support (and GPU Resident Drawer) ticked in the 3D Shader Window’s URP Settings tab, the shader’s URP passes are compiled for shader target 4.5, which WebGL 2 can’t run. Untick it and press Apply Changes before building for WebGL. Older versions had it ticked by default, so check it even if you never touched it. If you need Entities Graphics on the web, the WebGPU graphics API can run it, on Unity versions that offer WebGPU.
What are the ALLOC_TEMP_TLS error messages?
These ALLOC_TEMP_TLS messages are harmless Unity console warnings that only appear in the Editor when using URP. They occur when Unity temporarily needs more memory to compile the shader variants for all the effects included in the asset. Importantly, these messages:
- Cause no visual artifacts or rendering issues
- Only appear in the Unity Editor (never in builds)
To reduce ALLOC errors, you have a 2 options:
1. Control Shader Keywords: You have full control over which shader keywords are included, and reducing them will make these errors less likely to occur: full-control-over-shader-keywords
2. Disable Unused URP Features: You can disable any URP features you’re not using: urp-shader-feature-configuration
Performance and animation
Section titled “Performance and animation”How performant is the shader?
Very. More information here: performance-considerations.
And in any case, you have full-control-over-shader-keywords.
How can I make sure that a Material keeps being animated when the game is paused?
Check out the scaled-time section.
