Closed halfgrey closed 1 week ago
Had to create asmdef myself. Took me about 1 minute, but should be there in the 1st place. PS if will be fixed, plz add the fix also to v2.6.0-no-edm branch/tag
Hi @shamruk thanks for the heads up on this. Glad you found a workaround. We have this in our backlog but do not have an ETA for the fix.
This is still broken and means importing via a package is impossible
This should be fixed in version 2.8.0. @lordmortis - can you please confirm where you're seeing this?
If you're using the unitypackage file, you can find all the different versions here: https://github.com/amplitude/unity-plugin/releases/tag/v2.8
For direct loading from UPM, you can use the following branch main, main-without-edm-and-dependency or main-without-edm
Can you please confirm if you're seeing an issue with these branches as well?
Looking at the main branch on GitHub, I can see the assembly definitions are back
However I’m not sure using the main branch is ideal as if a new version is marked main it is likely that unity will upgrade the package next time it refreshes (as it will use the branch/tag) - so to make the time-frame more controllable for us, we really need the tags.
2.7.0 and 2.6.0 both have corresponding -no-edm-and-dep
and -no-edm
tags (but those versions are missing the assembly references)
Do you know what Unity’s behaviour is when the tag/branch specified in the manifest updates in git? Will it just auto-update?
I can just use 33720007dc6dd7a1d0a3f41292554ea504894524
as that’s
the main-without-edm-and-dependency
for 2.8.0 - but it’s definitely
less than ideal.
On 3 Jul 2024, at 0:47, Izaaz Yunus wrote:
This should be fixed in version 2.8.0. @lordmortis - can you please confirm where you're seeing this?
If you're using the unitypackage file, you can find all the different versions here: https://github.com/amplitude/unity-plugin/releases/tag/v2.8
For direct loading from UPM, you can use the following branch main, main-without-edm-and-dependency or main-without-edm
Can you please confirm if you're seeing an issue with these branches as well?
-- Reply to this email directly or view it on GitHub: https://github.com/amplitude/unity-plugin/issues/116#issuecomment-2203812077 You are receiving this because you were mentioned.
Message ID: @.***>
!DSPAM:66842f2a96921247212145!
Can confirm that using 33720007dc6dd7a1d0a3f41292554ea504894524
at least compiles in unity (though the asset definition changed from the version we were on). I haven't built this just yet, but this is further that I was getting before.
Using the hash isn't the cleanest thing to do. I've added two new tags
v2.8.0-no-edm-and-dep
and v2.8.0-no-edm
Thank you! Hopefully that will make it clearer for others!
Thank you @lordmortis. Please feel free to reopen this issue if you're running into more problems with this.
Expected Behavior
When Unity developers use assembly definition files they should be able to add a reference to the Amplitude assembly definition files so that they can use the SDK. For example AmplitudeSDKCore.asmdef
Current Behavior
The assembly definition files are missing since they are filtered by the .gitignore file. Only the .meta files are still existing.
Possible Solution
Remove asmdef filter from .gitignore and commit asmdef files again so that developers can reference and use the SDK code.
Steps to Reproduce
Environment