Attack on Toys

Attack on Toys

Not enough ratings
🔧 Attack on Toys MOD: Error & Troubleshooting
By N7T-GAMES
Help Modder to Troubleshoot any Error that might occur during Modding process
   
Award
Favorite
Favorited
Unfavorite
⚑ IMPORTANT Error
  • CollisionMeshData Data Couldn't be created
  • Sometime if the collider is complex, Unity won't be able to load them properly. You will need to test it in Mod Tester to be able to find this issue. The fix is very simple, just enable "Read/Write" on your 3D Model

  • KeynotFoundException: Most likely you might forgot to add some spawnable object Bullets or Items to the Mod Pool. For an example, Player using Raygun weapon and it shoot Raygun projectile... the projectile need to be added to the Mod pool. Please see the Guide for more detailed instruction about Mod Pool.

  • NullReferenceException (Bake, AOT Assets): You might missing some object that should added to the Mod. You might forgot to add Hat for player, Weapon, Plastic Mold, or something that might missing. Please see the error line code for more detail what object is missing that you forgot to add.
⚑ Ignore These Error (Fixable)
  • Sometime these error could happen after Baking process. You might ignore these error, it won't affect your Mod at all. But sometime it does annoying to have these error pops-up, you could easily fix these error by right click AOT Assets and then click Reimport or re-install Attack on Toys - Mod Builder zip
⚑ Ignore These Error
  • You could safely ignore these error, it won't affect your Mod at all.
🔧 Error & Troubleshooting by Community Fans (Mantis)
  • Make sure the right version (2.79) of Blender runs blend files by default. Then, run that Blender as Administrator at least once. It fixes broken unity models. Reimport if necessary. Don't bother modding anything until models display properly!

  • When choosing to copy avatar from another, similar model, an error will occur if the bones don't match exactly. The solution is to create a new avatar from the model.

  • If you have a 'Missing Mesh' error, you may have accidentally made a duplicate of the base file and not a variant. Or possibly, your mesh and effects are not listed under the [Mesh][World] prefab.

  • On a Weapon.Script error, you likely forgot to assign a number of bullets per shot. This is listed under Muzzle Rotations catagory.

  • Make to make permanent changes to a prefab in the prefab edit screen and not the builder/bedroom scene.

  • If a unit is only placing one at a time, something went wrong with the ghost or baking process. Restart baking from the beginning.

  • If your weapon won't fire, you may not have a muzzle flash assigned and in the prefab. This also applies to sounds. The flash goes under the LOD parent if there is one. The other possiblity is that the bullet you have assigned has a size of zero.

  • If everthing is broken and reimport doesn't work, delete the AOT assets folder. Unity will crash, but then you can move a fresh copy of AOT Assets afterwards.

🔧 Credits to Mantis: https://steamhost.cn/steamcommunity_com/profiles/76561198059136524
1 Comments
Mantis 21 Dec, 2024 @ 8:33pm 
Another bug to be added to the troubleshooting guide: If you go to place a unit down and it auto places into the HQ, is unselectable, and still has an Idle animation, you forgot to add a source ID.