View Issue Details
ID | Project | Category | Date Submitted | Last Update | |
---|---|---|---|---|---|
0028047 | AI War 2 | Bug - Other | Oct 20, 2023 12:26 pm | Oct 20, 2023 1:10 pm | |
Reporter | Radiant Phoenix_1 | Assigned To | Dismiss | ||
Status | resolved | Resolution | fixed | ||
Product Version | 5.570 Petawatt | ||||
Fixed in Version | 5.571 Hotfix | ||||
Summary | 0028047: Error message when chaining material_override_bundle, is_partial_record, and copy_from | ||||
Description | What I did: 1. "A.xml" creates an entity ("C"), and assigns a material override ("E") from the base game 2. "B.xml" uses `is_partial_record` to replace "C"'s material override ("E") with a material override ("F") from DLC2 3. "A.xml" uses `copy_from` to create another entity ("D") based on "C", and assign the first material override ("E") from the base game 4. "B.xml" uses `is_partial_record` to replace "D"'s material override("E") with a material override ("G") from DLC1 What I expected: * "D" uses "G" from DLC1 * "C" uses "F" from DLC2 * No errors What I got: * "D" uses "G" from DLC1 * I have not checked "C", but I suspect it works fine * I got this error: 10/20/2023 12:11:26 PM 5.570 SINGLEP Failed to load GameObject 'Assets/_FinalGameMeshes/Spire/DarkSpireWraith/DarkSpireWraith.prefab' from bundle 'exp2_zenith_onslaught' exception while handling override materials for DysonHQFlagshipFlagship at debugstage 150 System.NullReferenceException: Object reference not set to an instance of an object at Arcen.AIW2.Core.GameEntityTypeData.HandleOverrideMaterial (Arcen.Universal.ArcenXMLElement Data) [0x0016d] in <c1f6b948bc4b48b1a1a5fe4b468fa3e0>:0 exception while handling override materials for DysonHQFlagshipHighTier at debugstage 150 System.NullReferenceException: Object reference not set to an instance of an object at Arcen.AIW2.Core.GameEntityTypeData.HandleOverrideMaterial (Arcen.Universal.ArcenXMLElement Data) [0x0016d] in <c1f6b948bc4b48b1a1a5fe4b468fa3e0>:0 It appears to *work*, it just... pops up this error, which hides other errors | ||||
Tags | No tags attached. | ||||
|
Reordered some things for easier comparison |
|
The issue appears to come from the base xml *not specifying* the bundle for the override |
|
user-error however, the error shown will now be more clear as to which entity it is coming from |
Date Modified | Username | Field | Change |
---|---|---|---|
Oct 20, 2023 12:26 pm | Radiant Phoenix_1 | New Issue | |
Oct 20, 2023 12:30 pm | Radiant Phoenix_1 | Description Updated | |
Oct 20, 2023 12:30 pm | Radiant Phoenix_1 | Note Added: 0067972 | |
Oct 20, 2023 12:51 pm | Radiant Phoenix_1 | Note Added: 0067973 | |
Oct 20, 2023 1:10 pm | Dismiss | Assigned To | => Dismiss |
Oct 20, 2023 1:10 pm | Dismiss | Status | new => resolved |
Oct 20, 2023 1:10 pm | Dismiss | Resolution | open => fixed |
Oct 20, 2023 1:10 pm | Dismiss | Fixed in Version | => 5.571 Hotfix |
Oct 20, 2023 1:10 pm | Dismiss | Note Added: 0067974 |