Search Issue Tracker
Fixed in 2018.1.X
Votes
0
Found in
Issue ID
967405
Regression
No
Animation recorder: Error in console when recording MonoBehavior scripts or third party plugin components
GitHub issue: https://github.com/Unity-Technologies/GenericFrameRecorder/issues/42
Description copy:
Having a custom MonoBehavior script assign to my object and set the recorder to record it, we get errors in the console. Also true for cinemachine components (or 3rd party plugins).
All the errors seem to be related to marshalling types.
Error:
ArgumentException: Cannot marshal CinemachineMixingCamera to a native Unity::Type!
Steps to repro:
1. Import the attached package
2. Load the Scenes/Recorder_Bug scene
3. Try to record the "Character Movement" component from the "UnityCharacter" object
* Note that any simple MonoBehavior scripts show the same issue.
4. Also try to record the "Cinemachine Virtual Camera" component of the "CM vcam1" object
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment