GithubHelp home page GithubHelp logo

Comments (3)

favoyang avatar favoyang commented on July 18, 2024

@yingnierxiao,

Thanks for reporting the issue. The issue is pointed to line 142 of AddressabelImporter.cs

    static bool TryGetGroup(AddressableAssetSettings settings, string groupName, out AddressableAssetGroup group)
    {
        if (string.IsNullOrWhiteSpace(groupName))
        {
            group = settings.DefaultGroup;
            return true;
        }
===>   return ((group = settings.groups.Find(g => string.Equals(g.Name, groupName.Trim()))) == null) ? false : true;
    }

It seems either the settings is null, or the settings.groups is null or settings.groups contains an null element. But I can not reproduce the issue, could you? Or maybe you can try adding a few lines before line 142 to debug?

        Debug.Log("settings: " + settings);
        Debug.Log("settings.groups: " + settings.groups);
        for (int i = 0; i < settings.groups.Count; i++)
        {
            Debug.LogFormat("settings.groups[{0}]: {1}", i, settings.groups[i]);
        }

from unity-addressable-importer.

yingnierxiao avatar yingnierxiao commented on July 18, 2024

if you del AddressableAssetSettings.asset ,need filter this file

from unity-addressable-importer.

github-actions avatar github-actions commented on July 18, 2024

🎉 This issue has been resolved in version 0.5.3 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

from unity-addressable-importer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.