Skip to content

Unity hard crashing due to being unable to import object of "type 487" #162

Closed as not planned

Description

@cameronTrivium

I posted about this in the discord as well, but I am having an issue right now with the Unity runtime where I am unable to import my .riv file. Here is the relevant .log output:

`##utp:{"type":"ProjectInfo","version":2,"phase":"Immediate","time":1778770482425,"processId":47844,"projectLoad":9.5121845,"projectInit":8.3897473,"templateInit":0.0,"packageManagerInit":1.3753625,"assetDatabaseInit":0.1160566,"globalIlluminationInit":0.0020538,"assembliesLoad":0.6134536,"unityExtensionsInit":0.0241453,"assetDatabaseRefresh":5.0482125,"sceneOpening":0.8862768}
##utp:{"type":"EditorInfo","version":2,"phase":"Immediate","time":1778770482425,"processId":47844,"editorVersion":"6000.4.6f1 (0b051c2e5d54)","branch":"6000.4/staging","buildType":"Release","platform":"Windows"}
Asset Pipeline Refresh (id=707540b97cdb09641bd7f4edbeef8ab2): Total: 0.031 seconds - Initiated by RefreshV2(AllowForceSynchronousImport)
Failed to import object of type 487
Failed to import object of type 487
Failed to import object of type 487
Failed to import object of type 487
Created GICache directory at C:/Users/camer/AppData/LocalLow/Unity/Caches/GiCache. Took: 0.007s, timestamps: [10.791 - 10.798]
[Licensing::Client] Successfully resolved entitlement details
[Licensing::Client] Successfully updated the access token
[Licensing::Module] Successfully updated access token: "eT1EiT1Z"... (expires: 2026-05-14T16:54:44Z)
[Licensing::Client] Successfully resolved entitlement details
[Licensing::Client] Successfully resolved entitlement details
[Licensing::Client] Successfully updated the access token
[Licensing::Module] Successfully updated access token: "eT1EiT1Z"... (expires: 2026-05-14T16:54:45Z)
UPID Received '5778bee1-3dbc-4592-97fc-d4669a85d247'.
Start Indexing on Editor startup
[Indexing] Starting Initial Indexing for Assets
Asset Pipeline Refresh (id=d4fceb4962a9b3843963364691666f1d): Total: 0.003 seconds - Initiated by RefreshV2(AllowForceSynchronousImport)
Refreshing native plugins compatible for Editor in 3.16 ms, found 5 plugins.
Asset Pipeline Refresh (id=01281eb1c78ac6944aa99ee7adc4ca4c): Total: 0.088 seconds - Initiated by StopAssetImportingV2(NoUpdateAssetOptions)
Asset Pipeline Refresh (id=a98a7288e66c2684ca2898a736927116): Total: 0.007 seconds - Initiated by RefreshV2(ForceSynchronousImport)
TrimDiskCacheJob: Current cache size 2mb
Refreshing native plugins compatible for Editor in 3.14 ms, found 5 plugins.
Asset Pipeline Refresh (id=6678f63fa042c5e4ab939858164af399): Total: 0.058 seconds - Initiated by RefreshV2(NoUpdateAssetOptions)
Asset Pipeline Refresh (id=615639503f3d6734bbf390be4b997851): Total: 0.007 seconds - Initiated by RefreshV2(AllowForceSynchronousImport)
Starting new worker id: 0 with log in C:/Users/camer/Documents/Workspace/MoAF Cryptocurrency/Logs/AssetImportWorker0.log
Starting new worker id: 1 with log in C:/Users/camer/Documents/Workspace/MoAF Cryptocurrency/Logs/AssetImportWorker1.log
Worker ready: AssetImportWorker0 0
Worker ready: AssetImportWorker1 1
[Worker1] Start importing Assets/ProjectAssets/Animation/moaf_cryptocurrency (1).riv using Guid(60d2f494a45c1a74daa17210db392135) Importer(815301076,1909f56bfc062723c751e8b465ee728b)
[Worker1] (PreviewImporter)
[Worker1] -> (Import Result ID: '654230d33246171b97ca8991ce9c7a27') in 0.0145845 seconds [static and dynamic dependencies]. Details - ImportResultOutputID=afbc3e44c78ed1f057073b92cbbfeb06 DependenciesID=332135f620392826591a159d4f82e22c StaticDependenciesID=618c24e8b52f0a2e9e240448f287f94a
Start importing Assets/ProjectAssets/Animation/moaf_cryptocurrency (1).riv using Guid(60d2f494a45c1a74daa17210db392135) (ScriptedImporter)Failed to import object of type 487
Failed to import object of type 487
Failed to import object of type 487
Failed to import object of type 487
Failed to import object of type 487
Failed to import object of type 487
Failed to import object of type 487
Failed to import object of type 487

=================================================================
Native Crash Reporting

Got a UNKNOWN while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.

=================================================================
Managed Stacktrace:

  at <unknown> <0xffffffff>
  at Rive.Artboard:instanceStateMachineAtIndex <0x000c8>
  at Rive.Artboard:StateMachine <0x000aa>
  at Rive.Asset:GenerateFileMetadata <0x00e6a>
  at Rive.Asset:SetData <0x000fa>
  at Rive.Asset:Create <0x000ea>
  at Rive.AssetImporter:OnImportAsset <0x010aa>
  at UnityEditor.AssetImporters.ScriptedImporter:GenerateAssetData <0x00071>
  at <Module>:runtime_invoke_void__this___object <0x0018d>

=================================================================
Crash!!!`

Activity

  1. damzobridge commented on May 14, 2026

    @damzobridge
    Contributor

    Hello, could you include more information about your Unity environment? e.g unity version, package version. In Unity, you can also navigate to this menu Tools → Rive → Copy Support Info and paste the output here.

    In the meantime, it's possible you're on an older version with a newer file. Could you try either of these versions:

    The latest release:

    https://github.com/rive-app/rive-unity.git?path=package#v0.4.2
    

    or the latest canary tag v0.4.3-canary.102.

    https://github.com/rive-app/rive-unity.git?path=package#v0.4.3-canary.102
    
  2. cameronTrivium commented on May 14, 2026

    @cameronTrivium
    Author

    Hi there! Thank you for your reply. I am using unity version 6000.4.6f1 and the Rive v0.4.2 package. Here's the support info: Rive Unity Support Info

    Unity Version: 6000.4.6f1
    Active Build Target: StandaloneWindows64
    Build Target Group: Standalone
    Graphics APIs: Direct3D12, Direct3D11
    Render Pipeline: UniversalRenderPipelineAsset 17.4.0
    OS: Windows 11 (10.0.26200)
    GPU: NVIDIA GeForce RTX 4080 SUPER (Direct3D12)
    Rive Plugin: app.rive.rive-unity 0.4.2

    If I can provide anything else, like the .riv file, please let me know

  3. damzobridge commented on May 14, 2026

    @damzobridge
    Contributor

    Thank you. Could you try the v0.4.3-canary.102 canary tag from the previous message as well, just to rule out there being a versioning issue.

    If you could also share the riv file, that would be helpful too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions