September 1, 2018 at 09:46 #23687JamesParticipant
Apologies if this has been asked before. I can’t find it.
Every time I switch machines, my AIs do not appear in the AI Editor. The .asset files are still present in the Asset/Resources/ApexAIStorage folder (along with the .asset.meta files).
On further investigation, it seems that the problem is the m_Script guid: field in the .asset files. If I create a new AI, it has a different GUID. If I copy that new GUID to the disappearing AI .asset file, the AI will appear in the AI Editor the next time I open Unity. This GUID seems to be related to the Library/metadata file that corresponds to the the ApexAI.dll. I am presuming that this GUID is different on different machines and hence the problem.
Am I doing something wrong? Should Apex Utility AI work on multiple machines? Manually updating this GUID on different dev machines is going to be unworkable.September 3, 2018 at 11:12 #23697GeminiorKeymaster
If you don’t add meta files to source control along with everything else and let Unity generate new metas for the dlls, it won’t load assets created with another meta.
This is a Unity ‘feature’ and applies to meta files in general. Always source control metas.April 11, 2019 at 17:15 #24846JamesParticipant
Thanks. Follow up question. I notice that Unity will copy the Unity dlls (ApexAI.dll, ApexSerizliation.dll and ApexShared.dll) from the Assets/Apex/Apex Binaries folder in the Assets folder during build. Do I
1) Commit the .dll.meta files next to the dlls in Assets/Apex/Apex Binaries
2) Commit the .dll.meta files next to the dlls in the Assets/ folder after they have been copied by Unity or
3) Commit both
You must be logged in to reply to this topic.