The mesh model does not seem to be loaded correctly: when used in the actual game, the mesh filter which i assign the model to shows "None (Mesh)". When I run this, my output looks as follows: (not to be confused with name, designated to the object name) The "Name" refers to the display name of the item as the user will see it and is not used in any part of the loading process. In this above image, "input" refers to a JSON container class, where input.model is a string representing the name of the scriptable object instance to load from the AssetBundle. Here is a snippet of code to show where the item is being generated: This has worked so far for Strings, Ints, Textures, and Particle Systems, however I seem to have run into an issue where the mesh associated with the scriptable object is not being loaded. In my effort to create a scriptableObject based procedural generation system, I placed all of my scriptable objects into their own AssetBundles.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |