English


Profile Picture

Unity Auto Setup

Posted By Victor.Soupday 4 Years Ago
Rated 5 stars based on 12 votes.
1
...
46
47
48
49
50
...
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: 4 days ago
Posts: 569, Visits: 9.0K
dan.goyette (10/6/2023)[hrI created a new CC4 project, and added the default CC4 "Kevin" model, and exported the character (With Subdivided mesh enabled). The resulting FBX file is about 33 MB in size.


Are you sure about that? Subdividing only the hair to 1 level results in a 84MB Fbx file for me. 180MB+ for 2 subdivisions.

The FBX format may have ways to compress the data, but the raw mesh data in Unity doesn't. Each subdivision level effectively quadruples the number of verts, each blend shape is effectively a duplication of the entire mesh (I don't know if Unity does anything to reduce that in the raw data, but I know it's stored more efficiently in the GPU). On top of that, Unity's mesh data can only store vertex data in blocks of 32k verts, so what your seeing might be those blocks, not the blend shapes (or not just the blend shapes)

It's not just the positional data either. Each raw vertex is position, normal, tangent, vertex color, skin weights (multiple), uv coordinates (multiple). That's a lot of data to be quadrupling with every subdivision level.

Also Kevin's hair does have an awful lot of blend shapes: 203? So I'm not surprised when subdivided it extracts to be so large.

That said maybe removing empty blend shapes during the extraction process would help. I would think most of those 203 blend shapes are empty.

Long story short, subdivided meshes are enormous, be very careful with them in Unity, you'll run out of memory fast.
josephgovi.n
josephgovi.n
Posted 2 Years Ago
View Quick Profile
New Member

New Member (16 reputation)New Member (16 reputation)New Member (16 reputation)New Member (16 reputation)New Member (16 reputation)New Member (16 reputation)New Member (16 reputation)New Member (16 reputation)New Member (16 reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 1, Visits: 86
Hello!

I made a post that I recently updated but not sure it will be coming back. I will recreate it here in case it disappeared entirely. I made a support ticket about this issue also, but they directed me here instead.

I tried using Unity Auto Setup for URP but I get broken results when I try generating High Quality Materials for imported CC4 Characters:
75% of original size (was 671x19) - Click to enlargehttps://forum.reallusion.com/uploads/images/9de3b485-d766-45c5-a589-15f8.png

I get what I think are expected results for clothing items, but for all skin related materials/shaders I get a Hidden/Internal shader error. Am I doing something wrong for URP usage?

Here are some details about software:

Unity: 2022.3.10f1
URP: 14.0.8
CC4: 3.31.2001.1
Unity Auto Setup Version 1.5.2 URP

When I export from cc4 my settings are as follows:
75% of original size (was 671x19) - Click to enlarge

Any help is appreciated, thank you
1711873140
1711873140
Posted 2 Years Ago
View Quick Profile
New Member

New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 7, Visits: 52
I would like to briefly describe the problem I encountered:
 hair and eyeballs these special shader transparent display, this is a mistake:
Cannot create a custom UI for shader 'Reallusion/Amplify/RL_HairShader_1st_Pass_Variants_URP'. The coloring appliance has the following contents: "CustomEditor = ASMaterialInspector". Does the specified custom editor include its namespace? Is this class derived from ShaderGUI or MaterialEditor? Unity Engine. GUIUtility: ProcessEvent(int, intptr, bool &)

I have found the problem because I used the wrong template.....


75% of original size (was 671x19) - Click to enlarge
1711873140
1711873140
Posted 2 Years Ago
View Quick Profile
New Member

New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)New Member (35 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 7, Visits: 52
If your project also has these mistakes, you can see my question above, because it is a very stupid question, don't waste your time like I did
75% of original size (was 671x19) - Click to enlarge75% of original size (was 671x19) - Click to enlarge
eduu.porto
eduu.porto
Posted 2 Years Ago
View Quick Profile
New Member

New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)New Member (1 reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 1, Visits: 23
Hi there,
I was trying to import CC4 models into my URP project using Auto Setup 1.5.2 for URP15 into my project in Unity 2023.1.16f1 and I am getting pink materials and shaders with compiler errors.
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: 4 days ago
Posts: 569, Visits: 9.0K
cristine (9/27/2023)
Hi, I am having issues with connecting the prefab to the avatar to add animations (see screenshot). The system DOES see the avatar, but when I click on it, nothing happens and source goes back to "None". Please advise.75% of original size (was 671x19) - Click to enlargehttps://forum.reallusion.com/uploads/images/c2a5c4e3-eb71-4c42-8996-ee85.jpg


All of a sudden lots of new posts from the past two weeks have just appeared... is there something wrong with the forum?


Anyway: You can't copy an avatar from itself. You have to set it generate the avatar from that model (Create from this model).

Because when you set it to copy, it won't generate the avatar for that model. So there's nothing to copy, which is why it reverts to None.

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: 4 days ago
Posts: 569, Visits: 9.0K
sickybricky (9/28/2023)
Sorry if this has been asked before, but does the Unity exporter support non-exportable (hair strands) hair? For instance this pack:
https://marketplace.reallusion.com/bow-adorned-braid-bun
Cheers!


I'm not sure what's not exportable about it but that particular hair does work in Unity.
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: 4 days ago
Posts: 569, Visits: 9.0K
eduu.porto (10/9/2023)
Hi there,
I was trying to import CC4 models into my URP project using Auto Setup 1.5.2 for URP15 into my project in Unity 2023.1.16f1 and I am getting pink materials and shaders with compiler errors.


Pink shaders usually means you have the wrong version for the render pipeline, but I'd need to see the errors to be sure.


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: 4 days ago
Posts: 569, Visits: 9.0K
josephgovi.n (10/6/2023)
Hello!

I made a post that I recently updated but not sure it will be coming back. I will recreate it here in case it disappeared entirely. I made a support ticket about this issue also, but they directed me here instead.

I tried using Unity Auto Setup for URP but I get broken results when I try generating High Quality Materials for imported CC4 Characters:
75% of original size (was 671x19) - Click to enlargehttps://forum.reallusion.com/uploads/images/9de3b485-d766-45c5-a589-15f8.png

I get what I think are expected results for clothing items, but for all skin related materials/shaders I get a Hidden/Internal shader error. Am I doing something wrong for URP usage?

Here are some details about software:

Unity: 2022.3.10f1
URP: 14.0.8
CC4: 3.31.2001.1
Unity Auto Setup Version 1.5.2 URP

When I export from cc4 my settings are as follows:


Any help is appreciated, thank you


Are you using a deferred renderer and the URP14 version of the tool? I think there might be a problem with some of the shaders using the deferred renderer in the URP14 tool.

Does it work correctly with the URP12 version of the tool? The URP12 tool should still work, even in Unity URP14.

luke_545764
luke_545764
Posted 2 Years Ago
View Quick Profile
New Member

New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)New Member (6 reputation)

Group: Forum Members
Last Active: Last Year
Posts: 1, Visits: 46
using the URP 10 version oddly enough worked for me. Thanks for the tip. Amazingly all the shaders seem to work in WebGL platform too. :D

1
...
46
47
48
49
50
...
58



Reading This Topic

0 active, 0 guests, 0 members, 0 anonymous.
No members currently viewing this topic!