|
Post by midniteoil on Aug 13, 2023 2:42:08 GMT
I am adding unit tests to my project which required me to add assembly definition files. Since Endless Book did not have an assembly definition, I needed to add one in order to pull it into my project. Now I am getting these errors: error CS0118: 'EndlessBook' is a namespace but is used like a type error CS0234: The type or namespace name 'StateEnum' does not exist in the namespace 'echo17.EndlessBook' (are you missing an assembly reference?) And others like it. I had copied the Demo02 into my project and unpacked the prefab and customized it for my game. Everything was building and running fine until I added assembly definitions. I added this assembly definition in the Asset Packs/EndlessBook/Book/Scripts folder: { "name": "echo17.EndlessBook", "rootNamespace": "", "references": [], "includePlatforms": [], "excludePlatforms": [ "Editor" ], "allowUnsafeCode": false, "overrideReferences": false, "precompiledReferences": [], "autoReferenced": true, "defineConstraints": [], "versionDefines": [], "noEngineReferences": false } I added another one in the EndlessBook/Editor folder to target only editor platform to fix a different build error. I also added an assembly definition reference for the EndlessBook assembly to the assembly definition for my project. Can you please provide me with an assembly definition file for your asset that I can add to my project to fix this? Also, where can I find my invoice number? I bought this back in September 2022. I don't see an email.
|
|
|
Post by echo17 on Aug 13, 2023 14:22:45 GMT
I've uploaded v 1.13.0 which contains an assembly file.
As for the invoice, Unity emails a pdf file with your purchase details. You'll need to contact their support to get a specific invoice if you do not have it. I am not sent any invoice information, I can only verify an invoice that is sent to me by a client.
|
|
|
Post by midniteoil on Aug 13, 2023 16:48:29 GMT
I've uploaded v 1.13.0 which contains an assembly file. As for the invoice, Unity emails a pdf file with your purchase details. You'll need to contact their support to get a specific invoice if you do not have it. I am not sent any invoice information, I can only verify an invoice that is sent to me by a client. There is indeed an asmdef. Somehow it must have gotten deleted from my project. I use the Maintainer asset to clean-up/remove any unused components from my project and I bet that's what did it.
|
|
|
Post by echo17 on Aug 13, 2023 17:27:15 GMT
Sorry, I meant I uploaded v 1.13.0 with the assembly definition based on your request. That version wasn't on the asset store until you requested it, so you wouldn't have seen any definition until I uploaded today. Sorry for the confusion!
|
|