Search Issue Tracker

Fixed in 5.3.5

Votes

1

Found in

5.3.3f1

Issue ID

774146

Regression

Yes

Uninformative "i < sampleCount" error on opening project

Editor - Other

-

On importing package user gets uninformative errors: "i < sampleCount"

To repro:
Open package attached.
or
Import SECTR COMPLETE asset package.

Regression since 5.3.30f1.
Reproduces in 5.4 (tested on versions from a6 to b8).

Comments (3)

  1. psydent

    Aug 15, 2016 21:53

    Found in Unity 5.2.2f1 when loading a proprietary project.

    Updating Assets/AppisodeAudio/importedaudio.wav - GUID: fa613ab85d3188b408ab040a0ca07fb4...
    i < sampleCount
    UnityEditor.AssetDatabase:Refresh(ImportAssetOptions)
    UnityEditor.AssetDatabase:Refresh() (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/AssetDatabaseBindings.gen.cs:242)
    ProjectManager:setupAssetsDir() (at Assets/Scripts/ProjectManager/ProjectManager.cs:194)
    ProjectManager:loadProject() (at Assets/Scripts/ProjectManager/ProjectManager.cs:250)
    MenuItems:loadProject() (at Assets/Scripts/UI/MenuItems.cs:46)

    [/Users/builduser/buildslave/unity/build/Editor/Src/AssetPipeline/AudioImporter.cpp line 34]
    (Filename: /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/AssetDatabaseBindings.gen.cs Line: 242)

    i < sampleCount
    UnityEditor.AssetDatabase:Refresh(ImportAssetOptions)
    UnityEditor.AssetDatabase:Refresh() (at /Users/builduser/buildslave/unity/build/artifacts/generated/common/editor/AssetDatabaseBindings.gen.cs:242)
    ProjectManager:setupAssetsDir() (at Assets/Scripts/ProjectManager/ProjectManager.cs:194)
    ProjectManager:loadProject() (at Assets/Scripts/ProjectManager/ProjectManager.cs:250)
    MenuItems:loadProject() (at Assets/Scripts/UI/MenuItems.cs:46)

  2. evand

    Jul 21, 2016 23:38

    I got this same issue. Unity version 5.3.5f1.

    I was importing Nihilore's music track from the Unity Asset Store.

  3. 0x73DB07

    Apr 01, 2016 18:05

    Reproduced in 5.3.4f1. It says "UnityEditor.HostView:OnGUI()" underneath. A text search of the entire project found no instances of "sampleCount".

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.