Giter Site home page Giter Site logo

uma's People

Contributors

buronix avatar captainscience avatar davidosullivan avatar ecurtz avatar hellokitty avatar huika avatar jaimi avatar joen-unlogick avatar tlotter avatar virror avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

uma's Issues

ExpressionPlayer Issue

Whenever i have the expressionplayer on my uma, it resets all the umas face deformation. It does not actually reset the dna though, just the shape. For example, if i adjust the head size dna slider, nothing happens.

Models imported from Maya

There seems to be one or more problems when creating slots from fbx files exported from maya.

Callstacks may look likt his:

ArgumentNullException: Argument cannot be null.
Parameter name: key
System.Collections.Generic.Dictionary2[UnityEngine.Transform,UnityEngine.Transform].TryGetValue (UnityEngine.Transform key, UnityEngine.Transform& value) (at /Users/builduser/buildslave/monoAndRuntimeClassLibs/build/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:58 UMA.SkinnedMeshCombiner.RecursivelyMapToNewRoot (UnityEngine.Transform bone, UnityEngine.Transform hierarchyRoot, System.Collections.Generic.Dictionary2 boneMap)
UMA.SkinnedMeshCombiner.RecursivelyMapToNewRoot (UnityEngine.Transform bone, UnityEngine.Transform hierarchyRoot, System.Collections.Generic.Dictionary2 boneMap) UMA.SkinnedMeshCombiner.RecursivelyMapToNewRoot (UnityEngine.Transform bone, UnityEngine.Transform hierarchyRoot, System.Collections.Generic.Dictionary2 boneMap)
UMA.SkinnedMeshCombiner.CloneBoneListInNewHierarch y (UnityEngine.Transform rootBone, UnityEngine.Transform[] bones, System.Collections.Generic.Dictionary2 boneMap) UMA.SkinnedMeshCombiner.CombineMeshes (UMA.CombineInstance& target, .CombineInstance[] sources, UnityEngine.Transform rootBone, System.Collections.Generic.Dictionary2 boneMap)
UMA.SkinnedMeshCombiner.CombineMeshes (UnityEngine.SkinnedMeshRenderer target, .CombineInstance[] sources, System.Collections.Generic.Dictionary`2 boneMap)
UMA.UMADefaultMeshCombiner.UpdateUMAMesh (Boolean updatedAtlas, UMA.UMAData umaData, System.String[] textureNameList, Int32 atlasResolution)
UMA.UMAGeneratorBuiltin.UpdateUMAMesh (Boolean updatedAtlas)
UMA.UMAGeneratorBuiltin.HandleDirtyUpdate (UMA.UMAData data)
UMA.UMAGeneratorBuiltin.OnDirtyUpdate ()
UMA.UMAGeneratorBuiltin.Update ()

I've already spent a few hours without locating the problem.

PackRecipeV2 leaves out last slot

Using the Menu Item "Save Selected Avatar(s) asset" saves an asset, but the Text Recipe is missing the last slot from the umaRecipe.slotDataList.
Must be because

int slotCount = umaRecipe.slotDataList.Length - umaRecipe.additionalSlotCount;

in PackRecipeV2 method of UMAPackedRecipebase.cs

If there is an additional slot, which is not the last slot in the slotDataList, instead of the additional slot being skipped when saving, another slot at the last index will get skipped.

Clean up material builder

Material builder needs to be cleared up, fields that user should not place anything in should not be shown. And maybe add in some more help texts.

Missing bone errors

All vertex groups are weighted to the torso, including toe and foot, yet an error message is still received about missing bones when generating a character.
screenhunter_605 jun 05 11 45

Color32 Alpha on SetOverlayColor doesnt work

Tried the following:

Boots.SetOverlayColor(new Color32(0,255,0,255), "Boots");

It doesn't matter if its 0 128 255 in the alpha channel it makes no difference,

Any solution or bug fix?

Character Created Event

I'm calling a function with the help of the CharacterCreated Event, which I set up in the UMADynamicAvatar script in the Inspector Window (set to Runtime Only).

My function switches the slots of my character by using UMADynamicAvatar.umaData.umaRecipe.SetSlot(int index, SlotData slot) and UMADynamicAvatar.umaData.GetSlot(index).AddOverlay(string name).

However, calling my function via the CharacterCreated Event, the slots and overlays get added to the UMAData (I checked in the Inspector) but are not visible. If I delay my function call for just 1ms (via Invoke("myFunction", 0.001)), everything works fine.

Added slot and overlay disappears when reloading asset

I've added a hair slot and overlay to a generated character, then saved it. When it's reloaded the hair is not in the recipe nor is the overlay. Both the Slot and Overlay are in the Slot library and Overlay library.

I've tried it with 2 separate characters with different slots/overlays and the result is the same.

Unity 5.3 Removes Textures from Overlays

I and one other person are having an issue with Unity 5.3 and UMA 2.0.5. Textures are getting removed from overlays. It seems some of the overlays will have them and some won't.

5.1.2 doesn't have the issue. Attached images of the missing textures and console errors.

On my comp visual studio had an install issue. Don't know if that might be the cause. Will have to ask the other person.

screenhunter_1872 dec 14 17 55
screenhunter_1873 dec 14 17 55

UMA menus

All UMA menu items should be collected in the same submenu, not spread out like now.

NetworkAnimator and UMA problem

in UpdateAvatar(UMAData umaData) UMA does this:

Object.DestroyImmediate(animator);

If done with a NetworkAnimator component attached to that animator it becomes a problem.

Extract T-Pose not working

With the current Git version (11th April 2016) I can no longer extract a T-pose.

ArgumentException: An empty file name is not valid.
System.IO.FileSystemInfo.CheckPath (System.String path) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/FileSystemInfo.cs:255)
System.IO.FileInfo..ctor (System.String fileName) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/FileInfo.cs:58)
(wrapper remoting-invoke-with-check) System.IO.FileInfo:.ctor (string)
UMAEditor.TPoseExtracter.ExtractTPose () (at Assets/Standard Assets/Editor/UMA/Core/TPoseExtracter.cs:23)

No need for specular map

The specular map should be optional and if no specular map is given it should automatically use no specular.

Uma creation fails with unmapped bones

If the head slot is replaced with a helmet slot that does not contain mapping to all facial bones UMA creation fails. I imagine this applies to all slots, but the head is the most likely to be replace with reduced bone slots.

Re-arrange folders for example stuff

The folders should be rearranged so that only the example stuff is in the same folder, currently its a mix of example scripts, core scripts and a slot of other things.

avatar animation state preservation

I'm instantiating a character avatar, and immediately upon creation I'm calling animator.enabled=false;

the animator component re-enables itself 3 frames later, due to UMA internals

can the animator.enabled state be preserved, even when re-creating the avatar?

I've worked around the problem for now, by checking the state every Update(), and fixing it if it's out of sync, however this should probably be taken care of in UMA so it doesn't happen in the first place.

Thanks! :)

Documentation

Hi. I'm new to UMA so I viewed the documentation (UMA_Manual.pdf) but it is so outdated; it relates to version UMA version 1.0.1.0R. Will there be an update any time soon as the UMA_Manual.pdf is deprecated as it stands.

'Convert Mip Maps' are only created when 'Convert Render Texture' is enabled.

Problem:
'Convert Mip Maps' are only created when 'Convert Render Texture' is enabled.

Solution:

Eli Curtz said:
destinationTexture.useMipMap = umaGenerator.convertMipMaps;
after line 80 on TextureProcessPROCoroutine.cs

Here's a few screenshots:

Convert Render Texture off + Convert Mip Maps on vs pbr without uma 2:

http://i.imgur.com/RBRwFZ1.png

Convert Render Texture on + convert mip maps on

http://i.imgur.com/b1tpn4o.png

After bug fix:

http://i.imgur.com/DMaaQWB.png

Cannot Build Slots from 3DS Max FBX Files in UMA 2

Slot meshes created from FBX files generated by 3ds max have mangled vertices.

Converted using UMA 1 then optimized for UMA 2:
tunicbefore
Converted using UMA 2:
tunicafter

These fbx files work perfectly is used in the UMA 1 Material Builder. They also work when converted for use in UMA 2. Error occurs if they are directly converted using UMA 2 slot builder.

This has been tested with 3ds MAX 2012 & 2016 with all FBX exporters 2012 - 2016 in both ASCII and binary format.

I can only assume that the fact there are now 2 scales shown on file import in unity 5 may have something to do with it. (import now has "scale factor" and non-editable "file scale")

Example files and testing available on request from: [email protected]

Document the code.

Up to this point I haven't met a single comment in your code. And the documentation @ UMA homesite doesn't really tell you anything if you want to poke it from the code side.

option to remove warning about reduced texture size

Since I have 50+ UMAs in my scene I have chosen to reduce the texture size from 2048 down to 512. This is a well-considered decision that I think anyone with a large number of UMAs would agree with, otherwise you'll be using over 1 GB of memory at runtime.

Why does the generator tell me this is a warning? Can someone please add a toggle to disable this warning? Thanks.

Solution files in git.

Solution files, like most project files don't really belong to git, since they can be generated and configurated manually.

Custom inner mouth overlay doesn't save on female recipe

Replacing the default inner mouth overlay for a custom generated female recipe doesn't save.

New Inner mouth overlay is added to a female recipe and previous is removed (not during run time).

On loading the recipe during run-time it switches back to the default inner mouth overlay.

New recipe UI issues

New recipe UI with shared colors options bugs:

You need to add 4 in order for the metallic to show ;however, it is effected by texture 2 multiplier. I'm guessing that Albedo Color is 0, then texture 1 normal, and texture 2 metallic. Texture 3 effects nothing but is needed for the metallic.

Adjusting texture 1 color (normals) and then putting back to it's original color causes the normals to stay modified.

Unity 5.1

UMAData - Crash during Shutdown

The UMAData contains code to release the assets it's using. We're getting reports that this is causing crashes during normal app shutdown.

Please add comments with call stacks!

New recipe Changes back during runtime

I've added 2 separate shared colors color 0 and Color 1.

I've assigned color 0 to one overlay and color 1 to another. When I press play the character generates and the settings change both overlays to color 0. Plus another overlay gets check marked after unchecking it.

I've also used save collection

screenhunter_1303 oct 30 12 39
screenhunter_1304 oct 30 12 40
screenhunter_1305 oct 30 12 40
screenhunter_1306 oct 30 12 40
screenhunter_1307 oct 30 12 40
screenhunter_1308 oct 30 12 40

Generated DNA Slot Data not showing in 5.3

Hi.

I've tried importing a few packs to 5.3( from 5.1.2) and I seem to get missing DNA and Slot Data for the Generated.asset. It appears to be mostly on females. Tried with Body Retexture vol.1 and Facepack.

Several "Object reference not set to an instance of an object" errors

Images show Missing and correct Data, plus debug info:
screenhunter_442 mar 30 23 37
screenhunter_443 mar 30 23 37
screenhunter_444 mar 30 23 37
screenhunter_445 mar 30 23 41

UMAGenerator - Crash during Shutdown

This report includes all crashes originating from the UMAGenerator when a UMACharacter is being destroyed while the generator is building it.

Please add callstacks and descriptions as comments.

Converted Normals not showing properly

Tried most option and nothing seems to fix it. The unconverted normals are fine. The Maps were made with UMA Material Builder.

You can see how there is no normal on the abdomen area as well as pronounced seams.

converted

unconverted n

Display of versioning, what version are we on?

It is very confusing which version this repository is on, nor is it impossible to find older versions.
I came on this repository through the UMA2x wiki page but I cannot find any trace of a 2.0 version. The last version mentioned in the readme.md (not really a great place for keeping a change log BTW) is version 1.0.1.0R which I find hard to believe since the version mentioned on the asset store is much higher. So which version is it currently and is it maybe an idea to use the git tag system for tagging releases? This is done by many repositories and also the recommended approach.

Bug with how UMA saves out a mesh

Using either slot builder or material builder I am getting the below errors.

I have modeled 5 items for UMA, all import into Unity fine. Only one of these items successfully creates itself. I have tested this numerous items and even edited the FBX files in 3ds Max to try alternate solutions.

I can recreate the item that succeed numerous times without a problem.


Couldn't add object to asset file because the Mesh 'Greek Greaves' is already an asset at 'Assets/Richards files/Armour/Legs/Greek Greaves.FBX'!
UnityEditor.AssetDatabase:CreateAsset(Object, String)
UMAEditor.UMASlotProcessingUtil:CreateSlotData(String, String, String, SkinnedMeshRenderer, UMAMaterial, SkinnedMeshRenderer) (at Assets/Standard Assets/Editor/UMA/Core/UMASlotProcessingUtil.cs:52)
UMAEditor.UmaSlotBuilderWindow:CreateSlot_Internal() (at Assets/Standard Assets/Editor/UMA/Core/UmaSlotBuilderWindow.cs:124)
UMAEditor.UmaSlotBuilderWindow:CreateSlot() (at Assets/Standard Assets/Editor/UMA/Core/UmaSlotBuilderWindow.cs:94)
UMAEditor.UmaSlotBuilderWindow:OnGUI() (at Assets/Standard Assets/Editor/UMA/Core/UmaSlotBuilderWindow.cs:71)
UnityEditor.DockArea:OnGUI()



UnityException: Creating asset at path Assets/Richards files/Slots/Greek Greaves/Greek Greaves.asset failed.
UMAEditor.UMASlotProcessingUtil.CreateSlotData (System.String slotFolder, System.String assetFolder, System.String assetName, UnityEngine.SkinnedMeshRenderer mesh, UMA.UMAMaterial material, UnityEngine.SkinnedMeshRenderer prefabMesh) (at Assets/Standard Assets/Editor/UMA/Core/UMASlotProcessingUtil.cs:52)
UMAEditor.UmaSlotBuilderWindow.CreateSlot_Internal () (at Assets/Standard Assets/Editor/UMA/Core/UmaSlotBuilderWindow.cs:124)
UMAEditor.UmaSlotBuilderWindow.CreateSlot () (at Assets/Standard Assets/Editor/UMA/Core/UmaSlotBuilderWindow.cs:94)
UMAEditor.UmaSlotBuilderWindow.OnGUI () (at Assets/Standard Assets/Editor/UMA/Core/UmaSlotBuilderWindow.cs:71)
System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)


Crash when creating new Humanoid Race

Crash when creating new Humanoid Race.

NullReferenceException: Object reference not set to an instance of an object
UMA.UMAGeneratorBase.CreateAnimator (UMA.UMAData umaData, UMA.UmaTPose umaTPose, UnityEngine.RuntimeAnimatorController controller, Boolean applyRootMotion, Boolean animatePhysics, AnimatorCullingMode cullingMode)
UMA.UMAGeneratorBase.UpdateAvatar (UMA.UMAData umaData)
UMA.UMAGeneratorBuiltin.UpdateUMABody (UMA.UMAData umaData)
UMA.UMAGeneratorBuiltin.HandleDirtyUpdate (UMA.UMAData data)
UMA.UMAGeneratorBuiltin.OnDirtyUpdate ()
UMA.UMAGeneratorBuiltin.Update ()

Crash occurred at run-time trying to spawn a character.

Best guess: No T-Pose assigned to Race. Add check and verbose error message.

ubuntu 14.04 ~ unity 5.3.0f4 ~ gone to UMA1 from UMA2

Today I tried UMA for the 1. time 3h ago, I know that linux unity3d (free) is experimental just do not have money for windows, since there is no money for windows mac should not be even considered.

  1. a question.
    why are all avatars in UMA1 and UM2 shoeless
  2. reasons for going back to UMA1:
    • out of 20 generated avatars in UMA2 around 12 or more are completely black (missing skins or something else)
    • out of 20 generated avatars in UMA2 around 5 do not have any wear upper and lower at all, excluding 5 at least 3 are missing upper or lower wear (Not for people who are not making sexy strip show games).
    • made nice change with setting gui compared to UMA1, but there are mixed labels breast, upper arm size, cant figure it out but its torso and arms regions.
    • Old documentation describes better UMA1 than UMA2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.