Git Product home page Git Product logo

quarkasset's People

Contributors

donnyep avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

quarkasset's Issues

卸载后看不到效果

UnloadAsset,我调用后并没有想象中卸载掉资源
UnloadAssetBundle这方法参数为TRUE 释放AssetBundle文件内存镜像同时销毁所有已经Load的Assets内存对象?
比较菜,我看这个框架是学习用的,请大佬解惑

QuarkEngine 单例报空

QuarkEngine 单例报空

复现:直接拷贝QuarkAsset文件夹替换旧版本
关闭:重新打ab包
这个单例不安全

在循环中使用 QuarkResources.LoadAssetAsyn 好像不能正确的加载的数据.

我在想在加载场景中使用 LoadAssetAsync 先加载一些数据到内存里 格式类似下方的格式 但是很奇怪 LoadAssetAsync 的回调函数 onComplete 只会获得 AtlasType枚举 中的其中一个数据 (应该是枚举元素个数的数据) 而且有时也会报错 :
The AssetBundle 'StreamingAssets\assets_2dassest_spriteatlas' can't be loaded because another AssetBundle with the same files is already loaded.

foreach (AtlasType atlasType in Enum.GetValues(typeof(AtlasType)))//示例代码
{
QuarkResources.LoadAssetAsync(path, onComplete);
}

不太明白这个路径为什么不能拖到编辑器窗口

[QUARK-ERROR]-->> Cannot mark assets and scenes in one AssetBundle. AssetBundle name is Assets/SubGame/Game_2D
UnityEngine.Debug:LogError (object)
Quark.QuarkUtility:LogError (object) (at ./Library/PackageCache/com.quarkasset@2fc4b79a91/Runtime/Utility/QuarkUtility.cs:186)
Quark.Editor.QuarkBundleSearchLabel:DrawDragRect () (at ./Library/PackageCache/com.quarkasset@2fc4b79a91/Editor/QuarkWindowTab/QuarkAssetDatabaseTab/QuarkBundleSearchLabel.cs:93)
Quark.Editor.QuarkBundleSearchLabel:OnGUI (UnityEngine.Rect) (at ./Library/PackageCache/com.quarkasset@2fc4b79a91/Editor/QuarkWindowTab/QuarkAssetDatabaseTab/QuarkBundleSearchLabel.cs:50)
Quark.Editor.QuarkAssetDatabaseTab:OnGUI (UnityEngine.Rect) (at ./Library/PackageCache/com.quarkasset@2fc4b79a91/Editor/QuarkWindowTab/QuarkAssetDatabaseTab/QuarkAssetDatabaseTab.cs:124)
Quark.Editor.QuarkAssetWindow:OnGUI () (at ./Library/PackageCache/com.quarkasset@2fc4b79a91/Editor/QuarkAssetWindow.cs:113)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

看起来没也什么特殊字符,请教下

场景加载报错

LoadSceneAsync(string sceneName, Action progress, Action callback);
参数:(sceneName, progress, callback, true);
UnloadAllSceneAsync(Action progress, Action callback);
先调用LoadScene,加载完毕后调用UnloadAllSceneAsync会报错。foreach循环增删的问题,但是我看代码觉得写的没问题。
辛苦您看看
报错:Assets/QuarkAsset/Runtime/Loader/QuarkAssetDatabaseLoader.cs:320--->Collection was modified; enumeration operation may not execute.

建议

image
整体功能非常完善了。开发项目打包资源很多,会非常乱,可以把右侧显示为某一个Bundle的资源内容会更好点。

卸载报空错误

QuarkAssetBundleLoader 提前自己卸载部分ab,在关闭程序卸载所有ab,此处报空 。 ?.NULL检查运算符好像没有起作用!
image

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.