-
Notifications
You must be signed in to change notification settings - Fork 0
FAQ & Troubleshooting
2D means 2-directional (left/right), while 4D is 4-directional (left/right/up/down). They contain different sprite collections, although some sprites may be similar. Hero Editor 2D contains more content compared to Hero Editor 4D (while 4D has 3 sprites/projections for each item). Both hero editors have WebGL demos available from their asset pages, so you can try and compare. Both hero editors are compatible with Fantasy Workshop that can generate new equipment from different parts and effects. Also both hero editors are compatible with our monster packs (note that all monsters are 2-directional only). You can't mix sprites from both editors.
- Go to Project window, use search to find and select
Newtonsoft.Json.dll
. Then go to Inspector window and check or uncheck Any Platform, then uncheck or check Exclude Platforms, then press Apply and wait a few seconds. - If com.unity.nuget.newtonsoft-json@2.0 is already included to your project, find Newtonsoft.Json.dll in the asset folder and exclude it from builds.
- If com.unity.nuget.newtonsoft-json@2.0 is not included to your project, find Newtonsoft.Json.dll in the asset folder and include it to builds.
- com.unity.nuget.newtonsoft-json@2.0 may be included by default as a dependency via packages-lock.json in new projects.
Import Unity Standalone File Browser (3rd party asset) or just comment all calls to SFB (if you don't need the file picker functionality). SFB only works with Mono Scripting Backend
and .NET 4.x
.
- Make sure you've set
Player Settings > Auto Graphic API
. - Navigate to
Graphics Settings > Always Included Shaders
and includeGrayPaint
shader. - Try switching to the Built-in Render Pipeline (the shader tested with it and works 100%).
After enabling LWRP/URP you should fix all user shaders by replacing "LightMode" = "ForwardBase" with "RenderPipeline" = "LightweightPipeline" (or "UniversalPipeline") (update GrayPaint.shader). Refer to GrayPaintLWRP.shader (included, the same folder).
Update Unity. Set Scripting Backend = IL2CPP and choose .NET 4.x.
Select HeroEditor4D/FantasyHeroes/Atlases/UI.atlas
and check Include in Build (if you really need it for your game).