English


Profile Picture

Unity Auto Setup

Posted By Victor.Soupday 4 Years Ago
Rated 5 stars based on 12 votes.
1
...
18
19
20
21
22
...
58

Unity Auto Setup

Author
Message
Victor.Soupday
Victor.Soupday
Posted 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)

Group: Forum Members
Last Active: 2 Weeks Ago
Posts: 569, Visits: 9.0K
Unity Auto-setup Release 1.4.4

Built-in (Unity 3D): https://github.com/soupday/cc_unity_tools_3D/releases
URP: https://github.com/soupday/cc_unity_tools_URP/releases
HDRP: https://github.com/soupday/cc_unity_tools_HDRP/releases

Documentation
: https://soupday.github.io/cc_unity_tools/
Full install instructions here: https://soupday.github.io/cc_unity_tools/installation.html#

Changelog:
1.4.6
  • Added ray tracing settings to preview scene lights.
  • Fix to HDRP diffusion profiles not setting up in HDRP14 (2022.2)
1.4.5
  • Flow maps added to wrinkle map system.
  • URP & 3D shader pass and recompile.
  • URP & 3D Baked wrinkle maps normal fix.
  • HDRP Preview scene lighting update (to replicate some CC4 atmosphere set-ups)

Some updates to the wrinkle map system and (HDRP) lighting.


chuckterzian
chuckterzian
Posted 2 Years Ago
View Quick Profile
New Member

New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)New Member (21 reputation)

Group: Forum Members
Last Active: Yesterday
Posts: 1, Visits: 107

Hello, I'm using Unity 2022.2.5f1 and I downloaded and installed the newest version CC4 and the Unity Auto Setup and upon pressing the Build Material button I see a few errors, and things don’t look like they should. 


Error type 1 (repeats for a few materials):


Unable to find json material data: Back_Loin/Materials/Top_2

UnityEngine.Debug:LogError (object)

Reallusion.Import.Util:LogError (string) (at ./cc_unity_tools_HDRP-1.4.4.HDRP12/Editor/Util.cs:1119)

Reallusion.Import.CharacterInfo:GetMatJson (UnityEngine.GameObject,string) (at ./cc_unity_tools_HDRP-1.4.4.HDRP12/Editor/CharacterInfo.cs:413)

Reallusion.Import.Importer:ProcessObjectPrepass (UnityEngine.Renderer) (at ./cc_unity_tools_HDRP-1.4.4.HDRP12/Editor/Importer.cs:425)

Reallusion.Import.Importer:ProcessObjectTreePrepass (UnityEngine.GameObject) (at ./cc_unity_tools_HDRP-1.4.4.HDRP12/Editor/Importer.cs:406)

Reallusion.Import.Importer:Import () (at ./cc_unity_tools_HDRP-1.4.4.HDRP12/Editor/Importer.cs:258)

Reallusion.Import.ImporterWindow:ImportCharacter (Reallusion.Import.CharacterInfo) (at ./cc_unity_tools_HDRP-1.4.4.HDRP12/Editor/Importerwindow.cs:1115)

Reallusion.Import.ImporterWindow:BuildCharacter () (at ./cc_unity_tools_HDRP-1.4.4.HDRP12/Editor/Importerwindow.cs:1184)

UnityEditor.EditorApplication:Internal_CallDelayFunctions ()



Error type 2 (only appears once):


NullReferenceException: Object reference not set to an instance of an object

Reallusion.Import.Importer.ConnectDefaultMaterial (UnityEngine.GameObject obj, System.String sourceName, UnityEngine.Material sharedMat, UnityEngine.Material mat, Reallusion.Import.MaterialType materialType, Reallusion.Import.QuickJSON matJson) (at ./cc_unity_tools_HDRP-1.4.4.HDRP12/Editor/Importer.cs:988)

Reallusion.Import.Importer.ProcessTextures (UnityEngine.GameObject obj, System.String sourceName, UnityEngine.Material sharedMat, UnityEngine.Material mat, Reallusion.Import.MaterialType materialType, Reallusion.Import.QuickJSON matJson) (at ./cc_unity_tools_HDRP-1.4.4.HDRP12/Editor/Importer.cs:760)

Reallusion.Import.Importer.ProcessObjectBuildPass (UnityEngine.Renderer renderer) (at ./cc_unity_tools_HDRP-1.4.4.HDRP12/Editor/Importer.cs:385)

Reallusion.Import.Importer.ProcessObjectTreeBuildPass (UnityEngine.GameObject obj) (at ./cc_unity_tools_HDRP-1.4.4.HDRP12/Editor/Importer.cs:352)

Reallusion.Import.Importer.Import () (at ./cc_unity_tools_HDRP-1.4.4.HDRP12/Editor/Importer.cs:264)

Reallusion.Import.Importerwindow.ImportCharacter (Reallusion.Import.CharacterInfo info) (at ./cc_unity_tools_HDRP-1.4.4.HDRP12/Editor/Importerwindow.cs:1115)

Reallusion.Import.Importerwindow.BuildCharacter () (at ./cc_unity_tools_HDRP-1.4.4.HDRP12/Editor/Importerwindow.cs:1184)

UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at <00d63564201b48698d51680c10078897>:0)


Please advise on what I need to do to fix this or if there is a fix on the way. Thank you!



70% of original size (was 720x205) - Click to enlarge

Ryan Hayle
Ryan Hayle
Posted 2 Years Ago
View Quick Profile
Veteran Member

Veteran Member (550 reputation)Veteran Member (550 reputation)Veteran Member (550 reputation)Veteran Member (550 reputation)Veteran Member (550 reputation)Veteran Member (550 reputation)Veteran Member (550 reputation)Veteran Member (550 reputation)Veteran Member (550 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 49, Visits: 371
Thank you for fixing this so quickly!
Victor.Soupday
Victor.Soupday
Posted 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)

Group: Forum Members
Last Active: 2 Weeks Ago
Posts: 569, Visits: 9.0K
Unity Auto-setup Release 1.4.4

Built-in (Unity 3D): https://github.com/soupday/cc_unity_tools_3D/releases
URP: https://github.com/soupday/cc_unity_tools_URP/releases
HDRP: https://github.com/soupday/cc_unity_tools_HDRP/releases

Documentation
: https://soupday.github.io/cc_unity_tools/
Full install instructions here: https://soupday.github.io/cc_unity_tools/installation.html#

Changelog:
1.4.4.1
  • URP12 Shader flag pass & enable deferred rendering.
1.4.4
  • Full wrinkle map specification implemented.
    • Wrinkle map manager controls script on body mesh.
    • Added baking of wrinkle map system.
  • Spring Bone (Dynamic Bone) Hair physics, currently set up from Blender pipeline exports.
  • Import blend shape normals settings fixes.
  • Gamebase and PBR, SSS and smoothness adjustments.
  • Hair specular tint based on root + tip color.
  • Fix to bake not working with 2 pass hair materials.
  • Color space correction directives for baking.

Major features:
Wrinkle map system: Documentaion
- Enabled in the shader features. Drives wrinkle maps in the head material from the facial expression blend shapes in the body mesh.

Spring bone hair pipeline (with Blender tools):
- In an effort to try and solve the problem of hair animation without using performance degrading cloth physics, I have built a system with the Blender pipeline that allows spring bones to be quickly created (from hair cards or greased pencil lines) and rigged to the characters hair in such a way that it almost behaves like cloth physics, (currently using the Dynamic Bone package to do the spring bones in Unity, but I'm looking into getting it working with Magica Cloth 2 also.). I will need to demonstrate the process...

These are across all versions (2020.3 up) and pipelines.
Victor.Soupday
Victor.Soupday
Posted 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)

Group: Forum Members
Last Active: 2 Weeks Ago
Posts: 569, Visits: 9.0K
Ok: URP12 1.4.4.1 With updated shaders for deferred renderer.

See if that solves the problem.

(Also wondering if this will solve the VR problem with it not rendering some meshes)
Victor.Soupday
Victor.Soupday
Posted 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)

Group: Forum Members
Last Active: 2 Weeks Ago
Posts: 569, Visits: 9.0K
Ryan Hayle (2/23/2023)
The issue is the shaders do not work with deferred rendering.
e.g.

70% of original size (was 720x205) - Click to enlarge


Ah, seems I missed off including a GBuffer pass for the URP12 shaders.
Ryan Hayle
Ryan Hayle
Posted 2 Years Ago
View Quick Profile
Veteran Member

Veteran Member (550 reputation)Veteran Member (550 reputation)Veteran Member (550 reputation)Veteran Member (550 reputation)Veteran Member (550 reputation)Veteran Member (550 reputation)Veteran Member (550 reputation)Veteran Member (550 reputation)Veteran Member (550 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 49, Visits: 371
The issue is the shaders do not work with deferred rendering.
e.g.

70% of original size (was 720x205) - Click to enlarge
Victor.Soupday
Victor.Soupday
Posted 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)

Group: Forum Members
Last Active: 2 Weeks Ago
Posts: 569, Visits: 9.0K
Ryan Hayle (2/22/2023)

I import my character using cc_unity_tools_URP-1.4.4.URP12 to Unity 2022.2.7 for the first time and I can not get it to appear?
Any help would be appreciated.


Steps to reproduce?
URP12 Seems to work correctly for me on 2022.2.7:
70% of original size (was 720x205) - Click to enlargehttps://forum.reallusion.com/uploads/images/1715b3b0-31e3-4077-a1ce-1ff0.jpg

It looks like the legs are completely transparent, but the skin shader can't draw transparency. So what is the material on the legs?
Ryan Hayle
Ryan Hayle
Posted 2 Years Ago
View Quick Profile
Veteran Member

Veteran Member (550 reputation)Veteran Member (550 reputation)Veteran Member (550 reputation)Veteran Member (550 reputation)Veteran Member (550 reputation)Veteran Member (550 reputation)Veteran Member (550 reputation)Veteran Member (550 reputation)Veteran Member (550 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 49, Visits: 371
70% of original size (was 720x205) - Click to enlarge
I import my character using cc_unity_tools_URP-1.4.4.URP12 to Unity 2022.2.7 for the first time and I can not get it to appear?
Any help would be appreciated.
Victor.Soupday
Victor.Soupday
Posted 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)Distinguished Member (5.8K reputation)

Group: Forum Members
Last Active: 2 Weeks Ago
Posts: 569, Visits: 9.0K
Your missing the Flow Map, the Root Map and the ID Map. In particular these control the anisotropic highlights which gives it that silky hair look.

You may want to restore the original materials for the hair (or replace the hair with the original version), as it's lost a lot of it's original settings.

Usually the only hair property I need to change is the specular multiplier. That doesn't translate so well from CC's values to Unity's values.

Edit: Also look at Rim Transmission. That can easily have an overpowering effect if too high, and makes everything too dark if too low.

1
...
18
19
20
21
22
...
58



Reading This Topic

3 active, 0 guests, 3 members, 0 anonymous.