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.

Error when playing a scene that tried to load a binary

See original GitHub issue

Works fine for non-binary glTF, however all of the binary scenes print this error:

ArgumentException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection.
System.Buffer.BlockCopy (System.Array src, Int32 srcOffset, System.Array dst, Int32 dstOffset, Int32 count) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System/Buffer.cs:112)
GLTF.GLTFLoader+<LoadImage>c__Iterator4.MoveNext () (at Assets/GLTF/Scripts/GLTFLoader.cs:574)
UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) (at C:/buildslave/unity/build/Runtime/Export/Coroutines.cs:17)

Am I doing something wrong?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
robertlongcommented, May 3, 2017

I found this: https://issuetracker.unity3d.com/issues/unetweaver-error-after-upgrading-project-from-5-dot-4-to-5-dot-5-slash-5-dot-6

I’ve updated Unity Test Tools in the latest commit to master. Could you pull and try again?

0reactions
robertlongcommented, May 4, 2017

Glad to hear it!

Read more comments on GitHub >

github_iconTop Results From Across the Web

My Maya file is stuck trying to load. - Autodesk Community
So I think the issue is that its a binary file and I can't edit the script for it, I found a link...
Read more >
Split Application Binary Error
The problem I am having is that when I choose to split it in "Player settings", I get an error saying. Failed creating...
Read more >
Can not load scene from binary data.
I create a scene with the Editor.sh and save it as binary file, but when i try to load it from my code,...
Read more >
'Launch Failed. Binary Not Found' error when trying to run ...
1 Answer 1 ... That error means your IDE can't find the compiled binary file to execute. Make sure you are actually building...
Read more >
unity - Game build crashes on scene load
Now as I try loading level0 it crashes with no error messages from adb logcat. Just exits the game and that's it.
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