catimmortal / catasset Goto Github PK
View Code? Open in Web Editor NEWUnity资源管理框架
Unity资源管理框架
public static void CheckPackageManifest(Action callback)
{
if (RunMode != RunMode.PackageOnly)
{
Debug.LogError("PackageOnly模式下才能调用CheckPackageManifest");
return;
}
string path = "file://" + Util.GetReadOnlyPath(Util.ManifestFileName);
...
这样其他项目把这个包作为依赖会方便一点
NullReferenceException: Object reference not set to an instance of an object
BuildCacheUtility.SetCurrentBuildContent (UnityEditor.Build.Pipeline.Interfaces.IBuildContent content) (at ./Library/PackageCache/[email protected]/Editor/Utilities/BuildCacheUtility.cs:42)
UnityEditor.Build.Pipeline.ContentPipeline.BuildAssetBundles (UnityEditor.Build.Pipeline.Interfaces.IBundleBuildParameters parameters, UnityEditor.Build.Pipeline.Interfaces.IBundleBuildContent content, UnityEditor.Build.Pipeline.Interfaces.IBundleBuildResults& result, System.Collections.Generic.IList`1[T] taskList, UnityEditor.Build.Pipeline.Interfaces.IContextObject[] contextObjects) (at ./Library/PackageCache/[email protected]/Editor/ContentPipeline.cs:122)
CatAsset.Editor.BuildPipeline.BuildBundles (UnityEditor.BuildTarget targetPlatform, System.Boolean isBuildPatch) (at Assets/CatAsset/Editor/BuildPipeline/BuildPipeline.cs:88)
CatAsset.Editor.ConfigWindow.DrawButtons () (at Assets/CatAsset/Editor/Window/BundleBuildWindow/SubWindows/Config/ConfigWindow.cs:269)
CatAsset.Editor.ConfigWindow.DrawSubWindow (UnityEngine.Rect position) (at Assets/CatAsset/Editor/Window/BundleBuildWindow/SubWindows/Config/ConfigWindow.cs:50)
CatAsset.Editor.BundleBuildWindow.OnGUI () (at Assets/CatAsset/Editor/Window/BundleBuildWindow/BundleBuildWindow.cs:74)
UnityEditor.HostView.InvokeOnGUI (UnityEngine.Rect onGUIPosition) (at :0)
UnityEditor.DockArea.DrawView (UnityEngine.Rect dockAreaRect) (at :0)
UnityEditor.DockArea.OldOnGUI () (at :0)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, UnityEngine.Matrix4x4 worldTransform, UnityEngine.Rect clippingRect, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Action onGUIHandler, System.Boolean canAffectFocus) (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.IMGUIContainer.HandleIMGUIEvent (UnityEngine.Event e, System.Boolean canAffectFocus) (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUIRaw (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.IMGUIContainer.SendEventToIMGUI (UnityEngine.UIElements.EventBase evt, System.Boolean canAffectFocus, System.Boolean verifyBounds) (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.IMGUIContainer.ProcessEvent (UnityEngine.UIElements.EventBase evt) (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEventAtCurrentTargetAndPhase (UnityEngine.UIElements.EventBase evt) (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase evt) (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.EventDispatcher.OpenGate () (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <73c7cf6473374eca8332474b6bd3c29a>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at :0)
version文件是怎么生成的呢?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.