FBX import crashing UE4 - maya

Exporting from Maya to UE4 is causing the UE Editor to crash with no explanation. The submit error report dialog appears but there is no useful information available.
I have tried changing the FBX Version as some posts suggest, however, this does not seem to help.
How can I go about addressing this issue?

When exporting make sure the base model is in editable mesh and not editable poly and make sure the FBX exporter is set to ASCII not Binary.
This happened to me on 3ds Max, I am not a maya user

i had recently come across with the same crash... while importing from fbx
from mixamo and maya what worked for me was....while exporting fbx i had done the resetting of fbx preset to autodesk media and entertainment and switched off the smoothmesh option and enabled the Triangulate..
please do delete the unused nodes before exporting and keep no group nodes above the mesh or skeleton...
hope that helps those encounter similar in their workflow
as i was doing the following test projects this error occurred and crashed...
Project link1 : https://youtu.be/OsvZ1cpBBf0
Project Link 2: https://youtu.be/sXMrTkPiVEM
enter image description here

Related

How to create a .usdz animation?

You can now convert 3D models to .usdz files (uncompressed zip archive) using Apple's command line tool bundled with Xcode 10 beta.
Example code to convert an .obj file to .usdz:
xcrun usdz_converter magnifying_glass.obj -g frame magnifying_glass.usdz
-color_map gold-basecolor.png -normal_map gold-normal.png
-roughness_map gold-roughness.png -metallic_map gold-metallic.png
The following input 3D file types are supported:
OBJ file
Single-frame Alembic (ABC) file
USD file either .usda (ascii) or .usdc (binary)
It's my understanding the OBJ file does not support animation natively.
A single-frame Alembic file won't support animation either as its a single-frame.
So I'm guessing you need to use usda file which link to a sequence of single-frame Alembic or single-frame OBJ files to generate animations.
Is there any Publicly Available documentation on how to go about this?
A usda file can use payload files to reference single-frame meshes. The example below references a Treasure Chest single-frame alembic file geometry.
#usda 1.0
def "Chest_Base" (
references = [ #./Chest.abc#</Chest_Base> ])
{
}
But I haven't found any concrete way of linking a sequence of .obj or single-framed alembic .abc files together to create say a 10-second animation.
Any help or hint would be greatly appreciated.
Edit 30th June:
I’ve now managed to animate a USDZ file. I’ve got a live demo here of a rotating gears and helicopter.
Basically, I needed to download the usd pipeline from github and build it on my mac. You can get good instructions on how to do that from here
Be warn set aside at least a couple of hours, the build itself takes about an hour.
After that i ran the animated tutorial example in the usd pipeline bundle. Step5.usda (ascii usd file) has an animation example which I followed to create my own animations using rotations.
Running this usdz command will create a simple animation of a spining top if you create the Step5.usda file following the pixar tutorial at the link above.
xcrun usdz_convertor Step5.usda animationTest.usdz
Edit 10th July 2018:
usdz also supports alembic assets (with animations).
I have now managed to get a simple animation working in usdz (using the alembic file format). However, a bone animation on a character I tried didn't work.
I exported Alembic assets with both the Blender & Modo Alembic exporters... same results.
UV materials were also not mapping correctly to the mesh. Something wrong with the uv scaling & mapping... materials come out fragmented. At this stage I don't know if this is a bug, or whether I'm not doing something wrong here. There is some discussion about this uv mapping issue on the Apple forum
Edit 8th Sept 2018:
This is a rapidly evolving area and I'm sure more ways to tackle usdz animation creation will appear over time. However, at present the best & least costly way (open source) to make transform, bone, blend-shape or morph animations usdz files is using a command-line tool hosted on GitHub called glTF2usd.
The tool can convert a glTF animation file into a usda file (the intermediary file type) for creating the usdz file. It should also support direct usdz creation shortly, negating the need to use Apples usdz_converter command line tool to go from usda -> usdz.
Only currently supports 1 animation group. Some bugs still exists regarding rotations, --use-euler-rotation handle can be used to help with smoother rotations.
I've been posting usdz animations I have been creating with the tool to an online usdz gallery www.fusionar.app
Updated: October 16, 2022
USDZ with Animation
You can easily import, animate and then export binary and ascii USD, models from Autodesk Maya 2020 | 2022 | 2023 with pre-installed Maya USD plug-in. All you need to do is to know how to animate your model in Maya (whether it's Asset Animation or Transform Animation), the rest is as easy as saying "cheese".
Read this post to find out how to unzip a USDZ model.
Read this post to find out how to zip a USDA/USDC model.
Also, simple Transform Animation for USDZ models is possible in Apple Reality Composer.
For that, just drop USDZ model into Reality Composer's scene, apply any behavior you need and then export a result as USDZ file.
However, Transform Animations are programmatically available in RealityKit.
In SceneKit, unlike RealityKit, the animation in USDZ model plays automatically, as soon as the model is loaded. In SceneKit, don't forget to activate the autoenablesDefaultLighting = true option.
USDZ Schemas
If you like Python scripting you can apply simple Transform Animations using USDZ Schemas.
FBX with Animation
After creating an animation in Maya 2020 | 2022 | 2023, bake your animation using menu:
Edit -> Keys -> Bake Simulation
After that you can alternatively export your scene as .fbx:
File –> Export All (option box) –> FBX Export (dropdown menu)
Now it's time to prepare your .fbx file for Xcode 13/12/11 using the following Terminal command:
usdzconvert ~/Desktop/model.fbx -v
If you're using Xcode 10, a command in Terminal looks like this:
xcrun usdz_converter ~/Desktop/model.fbx ~/Desktop/model.usdz -v
A detailed description of how to work with the usdzconvert command in Terminal you can see HERE.
And of course, Reality Converter is an easy way for those who prefer GUI:
Now Apple provided a much easier way to convert almost any file (I would recommend using glTF/ glb as export option in Blender):
Reality Converter
It is a simple GUI tool released in January 2021, where you drop your files onto and it will give you a usdz file. Including mesh, materials and animation. For the download you need an Apple developer account.
I had an character with a simple armature animation in .fbx file, and I used "Reality Converter" by Apple to make it into a .usdz file that contains the animation. The animation even works in "Reality Composer".
The link for Reality Converter can be found here.

Autodesk Maya fbx file export

I used Maya LT 2016 version. After modeling I tried to Export my 2d character. I have already add plugins from windows menu.But still I have a error massage constraints error when exporting my 2d character. How solve it?
Make sure that your fbxmaya.dll is loaded without any error.
Make sure that you have selected " FBX Export" filter while exporting.
In the export dialog, there are many options make sure that you have selected the relevant options.
You can export your scene using MEL as well "FBXExport", MEL reference for more information.
If you have already followed all the steps, still if you get an error then please send us the error, I can help you.

Working With A Codename One Project In Git/SVN version control

We are trying to work on a Codename One project using git version control.
When I pull the project from git, the files (modified and newly added theme res files) are updated but they don't appear in the theme.
My changes aren't reflected when I try to run the project, how to refresh the project?
I tried to build/clean, refresh the cn1lib too but made no progress.
Thankyou shai, i uncheck the xml team mode but that doesnt make any difference.. you gave the link (https://www.codenameone.com/team.html), what is this for?? sorry i didn't quite get it.
And the solution isnt that clear. what do you mean by checking the res directory...
Let me clear my problem here.. when my team member adds a form (eg main form) in the gui builder, it get pulled from git in my project. there r 2 files main.ui and main file but when i open my res file or gui builder, the main form is not there.
This is actually triggered by a feature specifically designed for working with a team in version controlled environments. You can get this to work by unchecking File->XML Team Mode in the designer but that would "work around" this feature: http://www.codenameone.com/blog/teamwork-and-other-things.html
The solution would be to checkin the res directory, when it exists opening the res file refers to that instead of to the theme file. This allows your team to edit that directory together and avoid conflicts that will arise when sharing the binary res file.

Lazreport - how to export to excel?

I created a report using LazReport (freepascal). I need to get this into Excel.
I tried saving the resulting report file (.frp) but I can't seem to find any app that opens it.
Then I thought it would be good to get this into Excel. But I can't seem to find any doc or instructions on how to do this. Has anyone found a solution to this and if so please share the answer here. If I have one simple example or steps that would suffice.
Thanks!
add frCSVExport in your form and when you show report click save and choice CSV format to save

Google BigQuery - "Not Found: Project [project-id]

I'm having a problem getting started with Google BigQuery. I'm certain I have done everything correctly to create and configure the account. But when I go to the web interface, the it seems unable to find my project. I cannot create/upload any new data and I can't even query the sample data set. All the interface returns is:
Not Found: Project [my-project-id]
However, in the same window, the project name and ID is being listed in the panel on the left...so it looks like BigQuery is aware of my project in some sense. Screen shot below:
I am at a loss of how to rectify this. Does anyone have any ideas of something I might be missing in configuration and/or setup?
Best regards,
Dan
Did you recently set the ID on your project (e.g. xs-analytical-park-g)? If so, there may be a dataset that uses the old name (which was the numeric id of the projcet) which confuses the UI. We periodically search for changed project names and apply updates, but sometimes this can take a while.
I've just checked and it looks like our data should be up-to-date with respect to the project ids, so please let me know if this problem still persists.

Resources