Search Issue Tracker
Active
Votes
0
Found in [Package]
4.0.0-pre.1
Issue ID
1298809
Regression
No
[Fbx Exporter] FbxProperty.Set() does not take 'string' argument
Reproduction steps:
1. Open attached project "FbxExport.zip"
2. In Project window, open Assets/Test.cs
3. In script editor, observe lines 13 and 17
Expected result: No errors, FbxPropertyString.Create() creates type of FbxPropertyString, FbxProperty.Set() can use a 'string' parameter
Actual result: Error, FbxPropertyString.Create() creates type of FbxProperty, FbxProperty.Set() can't use a 'string' parameter
Reproducible with: 3.2.1-preview.2 (2018.4.30f1), 4.0.0-pre.1 (2019.4.18f1, 2020.2.2f1, 2021.1.0b2)
Notes:
1. Issue also reproduces with other parameter types, such as 'bool'.
2. As a workaround, it's possible to add a custom script to the package's base class 'FbxProperty':
public FbxPropertyString Set(string pValue)
{
FbxPropertyString ret = new FbxPropertyString(NativeMethods.FbxPropertyString_Set(swigCPtr, pValue), false);
if (NativeMethods.SWIGPendingException.Pending) throw NativeMethods.SWIGPendingException.Retrieve();
return ret;
}
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Scene view audio toggle doesn't work after disabling and enabling audio source component with audio random container
- Pitch changes while paused messes up scheduling of the audio random container
- Crash on detail::ComputeShaderSnippetKey when entering the Play mode
- Unable to interact with Material Inspector window when creating a new Material and renaming it
- Shadow artifact is cast onto GameObjects in the Scene view when the Scene view lighting is disabled
Add comment