question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unity 5.6.7f1 Casting Problem

See original GitHub issue

Hey there,

I ran the program on an old project of mine to see the capabilities. It did export a lot of scripts, but actually got stuck due to an error:

Import: Assembly 'System' has been loaded
Import: Assembly 'System.Core' has been loaded
Import: System.InvalidCastException: Unable to cast object of type 'uTinyRipper.Classes.MonoBehaviour' to type 'uTinyRipper.Classes.GameObject'.
   at uTinyRipper.Classes.ResourceManager.TryGetResourcePathFromAsset(Object asset, String& resourcePath)
   at uTinyRipper.AssetExporters.ProjectAssetContainer.TryGetResourcePathFromAssets(IEnumerable`1 assets, Object& selectedAsset, String& resourcePath)
   at uTinyRipper.AssetExporters.AssetExportCollection.Export(ProjectAssetContainer container, String dirPath)
   at uTinyRipper.AssetExporters.ProjectExporter.Export(String path, FileCollection fileCollection, IEnumerable`1 assets, ExportOptions options)
   at uTinyRipper.GameStructure.Export(String exportPath, Func`2 filter)
   at uTinyRipperGUI.MainWindow.ExportFiles(Object data)

Not quite sure what I can make of that error message…

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
mafacacommented, Oct 22, 2019

fixed in e7706e49c3b8a3486d3761bfae1aab21a463629c

0reactions
JohannesDemlcommented, Oct 22, 2019

I can confirm, that the bug is fixed. I built the dll with the latest commit and the script ran through. Awesome job and congratulations on the really impressive tool! Thank you also for your quick support!

Read more comments on GitHub >

github_iconTop Results From Across the Web

UnityPlayer.dll caused an Access Violation
This issue is due to Citrix Casting in the new Workspace Hub feature added to the Citrix Workspace recently. Uninstall Citrix Workspace and...
Read more >
Unity User Manual (5.6)
The Unity Manual helps you learn and use the Unity engine. With the Unity engine you can create 2D and 3D games, apps...
Read more >
Unity-Chan Toon Shader 2.0 (UTS2) Ver.2.0.9
For this purpose, UTS2 also has 2 options for creating fixed shadows necessary to the design: the Position Map, which assigns a set...
Read more >
Raycasts, Explained. Every Physics "Cast" Visualized - YouTube
03:19 Raycasts Visualized 05:00 Raycast All Visualized 06:48 Ultimate Fantasy Unity RPG Developer Bundle! 08:23 Spherecast Visualized 09:02 ...
Read more >
Unity 3D Spell casting
I'm having trouble implementing working spells in Unity 3D 5.3.5. I have an empty game object which is the parent of the ability, ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found