GithubHelp home page GithubHelp logo

2D Game Kit errors about 2d-extras HOT 5 OPEN

JodieKitten avatar JodieKitten commented on June 12, 2024
2D Game Kit errors

from 2d-extras.

Comments (5)

ChuanXin-Unity avatar ChuanXin-Unity commented on June 12, 2024

Hi, you do not need to download anything else.

Unfortunately, the 2D Game Kit is not compatible with the 2D Tilemap Extras package as they both share the same source files. You can fix this issue by:

  • Removing the duplicate in 2D Game Kit: Assets\Sd Gamekit\Utilities\Editor\RuleTileEditor.cs
    or (edit)
  • Remove the 2D Tilemap Extras package using the Unity Package Manager under Windows\Package Manager

from 2d-extras.

JodieKitten avatar JodieKitten commented on June 12, 2024

Hi, thank you for the assistance.

I removed the duplicate RuleTileEditor.cs but the 2D TileMap Extras is showing as locked and unremovable.
I also now have this error showing:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.TypeInitializationException: The type initializer for 'UnityEditor.U2D.Animation.ValidateCollinear_00000747$BurstDirectCall' threw an exception. ---> System.InvalidOperationException: Burst failed to compile the function pointer Int32 ValidateCollinear(Unity.Mathematics.float2*, Int32, Single)
at Unity.Burst.BurstCompiler.Compile (System.Object delegateObj, System.Reflection.MethodInfo methodInfo, System.Boolean isFunctionPointer, System.Boolean isILPostProcessing) [0x0015a] in D:\Unity\2D\Library\PackageCache\[email protected]\Runtime\BurstCompiler.cs:469
at Unity.Burst.BurstCompiler.CompileILPPMethod2 (System.RuntimeMethodHandle burstMethodHandle) [0x0003a] in D:\Unity\2D\Library\PackageCache\[email protected]\Runtime\BurstCompiler.cs:230
at UnityEditor.U2D.Animation.TriangulationUtility+ValidateCollinear_00000747$BurstDirectCall.Constructor () [0x00000] in :0
at UnityEditor.U2D.Animation.TriangulationUtility+ValidateCollinear_00000747$BurstDirectCall..cctor () [0x00000] in :0
--- End of inner exception stack trace ---
at $BurstDirectCallInitializer.Initialize () [0x00000] in :0
at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <9aad1b3a47484d63ba2b3985692d80e9>:0
--- End of inner exception stack trace ---
at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in <9aad1b3a47484d63ba2b3985692d80e9>:0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <9aad1b3a47484d63ba2b3985692d80e9>:0
at UnityEditor.EditorAssemblies.ProcessInitializeOnLoadMethodAttributes () [0x000a5] in <0d6ce211ebbc47e1a35a84c3672ff58f>:0
UnityEditor.EditorAssemblies:ProcessInitializeOnLoadMethodAttributes ()

from 2d-extras.

ChuanXin-Unity avatar ChuanXin-Unity commented on June 12, 2024

Whoops, sorry, I wasn't too clear about the instructions! Only one of the two is needed.

You can fix this issue by:

  • Removing the duplicate in 2D Game Kit: Assets\Sd Gamekit\Utilities\Editor\RuleTileEditor.cs
    or
  • Remove the 2D Tilemap Extras package using the Unity Package Manager under Windows\Package Manager

The burst error you are seeing can be ignored for now. If you restart the Editor, you should not have any issues with it.

from 2d-extras.

schlemmi avatar schlemmi commented on June 12, 2024

I'm trying [& failing] to remove the package (2d tilemap extras). I do unlock, then remove is disabled. says 'see dependencies'.

from 2d-extras.

ChuanXin-Unity avatar ChuanXin-Unity commented on June 12, 2024

@schlemmi

image

The 2D Tilemap Extras package may have been added as part of the 2D Features package. The image above is an example where the 2D Animation package was added as part of the 2D Features package. If that is the case for you, you will have to remove the 2D Features package first to remove the 2D Tilemap Extras package.

from 2d-extras.

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.