- attached JUST.XWI
Custom mission fails to load
Attached output_log.txt
(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
Trying to instantiate object of type Asteroid1 but no prefab is registered. Skipping!
This line repeats in the log. I'm assuming no model is set for Asteroid1.
This also appears:
KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary2[Common.EntityIdentifier,Common.ShipStats].get_Item (EntityIdentifier key) [0x00000] in <filename unknown>:0
at Common.StatManager.GetStats (EntityIdentifier type) [0x00000] in <filename unknown>:0
at Mission.FlightGroup.get_Stats () [0x00000] in <filename unknown>:0
at Mission.FlightGroup.get_IsCapitalShip () [0x00000] in <filename unknown>:0
at AstronomicalBackdropManager.<SpawnBackdrop>m__0 (Mission.FlightGroup fg) [0x00000] in <filename unknown>:0
at System.Linq.Enumerable+<CreateSelectManyIterator>c__Iterator12
2[Mission.FlightGroup,UnityEngine.Vector3].MoveNext () [0x00000] in <filename unknown>:0
at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D1[UnityEngine.Vector3].MoveNext () [0x00000] in <filename unknown>:0
at System.Linq.Enumerable+<CreateSelectIterator>c__Iterator10
2[UnityEngine.Vector3,UnityEngine.Vector3].MoveNext () [0x00000] in <filename unknown>:0
at System.Collections.Generic.List1[UnityEngine.Vector3].AddEnumerable (IEnumerable
1 enumerable) [0x00000] in <filename unknown>:0
at System.Collections.Generic.List1[UnityEngine.Vector3]..ctor (IEnumerable
1 collection) [0x00000] in <filename unknown>:0
at System.Linq.Enumerable.ToArray[Vector3] (IEnumerable`1 source) [0x00000] in <filename unknown>:0
at AstronomicalBackdropManager.SpawnBackdrop (Mission.FlightObjectDefinition planet, Mission.Mission mission) [0x00000] in <filename unknown>:0
at GameManager.PlaceBackdrops () [0x00000] in <filename unknown>:0
at GameManager+<PerformResourceLoading>c__Iterator1.MoveNext () [0x00000] in <filename unknown>:0
at GameManager+<LoadCombatSequence>c__Iterator0.MoveNext () [0x00000] in <filename unknown>:0
at UnityEngine.SetupCoroutine.InvokeMoveNext (IEnumerator enumerator, IntPtr returnValueAddress) [0x00000] in <filename unknown>:0
It's possible the two are related.
Comments (5)
-
reporter -
reporter The mission works after changing the asteroids into probes.
-
reporter - attached output_log_AWBM1.txt
I have attached the output log after running AWBM1. It might help with the issue.
-
reporter - attached output_log_ship_none.txt
I've replaced one of the FG with one that has no ship assigned to it.
It looks like XWVM can't load missions that has a FG with its ship set to none. Somehow the mission still loads in the original.
-
- changed status to resolved
Fixed: Issue
#163: Custom mission fails to load Added: Asteroids (Retro model placeholders) Fixed: Hidden helper quad in Torpedo and Missile prefabs. Fixed: Missiles and torpedoes should no longer blow up when hitting the player from behind while the player is firing the laser cannons.→ <<cset cfef624395a9>>
- Log in to comment
Custom mission attached