Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build diced sprite atlas. System.DllNotFoundException #46

Open
tinhntbap opened this issue Dec 12, 2024 · 5 comments
Open

Failed to build diced sprite atlas. System.DllNotFoundException #46

tinhntbap opened this issue Dec 12, 2024 · 5 comments

Comments

@tinhntbap
Copy link

tinhntbap commented Dec 12, 2024

I have an error when build atlas on unity 2022.3.16f1 and 2023, please help fix it

Failed to build diced sprite atlas. System.DllNotFoundException: sprite_dicing assembly: type: member:(null)
at (wrapper managed-to-native) SpriteDicing.Native.dice(SpriteDicing.Native/CSlice,SpriteDicing.Native/CPrefs)
at SpriteDicing.Native.Dice (System.Collections.Generic.IEnumerable`1[T] sprites, SpriteDicing.Native+Prefs prefs) [0x0000c] in ./Library/PackageCache/com.elringus.spritedicing@e598b85643/Editor/Native/Native.cs:245
at SpriteDicing.Editors.AtlasBuilder.Build () [0x00007] in ./Library/PackageCache/com.elringus.spritedicing@e598b85643/Editor/Editors/AtlasBuilder.cs:31
UnityEngine.Debug:LogError (object)

@elringus
Copy link
Owner

Could you let me know which OS you're using?

@tinhntbap
Copy link
Author

im using MacBook Pro
Intel Iris Plus Graphics, Sonoma 14.4.1

@elringus
Copy link
Owner

We only bundle ARM version of the native binary for Mac, hence it won't work with pre-M1 era of the devices. You'd have to build the Rust library from source for an Intel-based Mac.

@tinhntbap
Copy link
Author

so if i use window, it will work, right?

@elringus
Copy link
Owner

elringus commented Dec 12, 2024

Windows x64, Mac ARM and Linux x64 will all work out of the box. For other platforms you'd have to build from source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants