Space Engineers

Space Engineers

Consolidation Armament II - Definitive Weapon Pack
此主题已被锁定
Visentinel 2023 年 3 月 17 日 下午 6:54
Crash - MyScreenDecals
Hi Foltast i have found that using any of these weapons especially the really powerfull ones crash my game with a decal crash, I managed to get Digi to load up my world with all of my mods (at great suffering to him) and he debug the issue.

Exception in render!

Exception: System.NullReferenceException: Object reference not set to an instance of an object.
at VRageRender.MyScreenDecals.GetDecalCameraSqDistance(MyScreenDecal decal)
at VRageRender.MyScreenDecals.CanBePlaced(MyScreenDecal decal)
at VRageRender.MyScreenDecals.AddDecal(UInt32 id, UInt32[] parentIDs, MyDecalTopoData& topoData, MyDecalFlags flags, String sourceTarget, String material, Int32 matIndex, Single renderSqDistance, Boolean isTrail, Int32 timeUntilLive)
at VRageRender.MyRender11.ProcessMessageInternal(MyRenderMessageBase message, Int32 frameId)
at VRageRender.MyRender11.ProcessMessage(MyRenderMessageBase message, Int32 frameId)
at VRageRender.MyRender11.ProcessRenderFrame(MyUpdateFrame frame, Boolean draw)
at VRageRender.MyRender11.ProcessMessageQueue(Boolean draw)
at VRageRender.MyRender11.FullDraw(Boolean draw)
at VRageRender.MyRender11.Draw(Boolean draw)
at VRageRender.ExternalApp.MyRenderThread.Draw()
at VRageRender.ExternalApp.MyRenderThread.RenderFrame(Boolean async)
at VRageRender.ExternalApp.MyRenderThread.RenderCallback(Boolean async)

Here is the Debugger finding the problem exists within the game Engine

the game is trying to act on a decal that no longer exists.

the fix is to stop using decals with your weapons =P

https://imgur.com/a/Wvx68rU

These screenshots have the debugger output.
最后由 Visentinel 编辑于; 2023 年 3 月 17 日 下午 7:00
< >
正在显示第 1 - 7 条,共 7 条留言
Visentinel 2023 年 3 月 17 日 下午 6:57 
Digi also said

"you can disable WC's add decal by just editing the mod script, in Data\Scripts\CoreSystems\AudioVisual\RunAv.cs search for adddecal and comment out that line"
Dercaixr  [开发者] 2023 年 3 月 18 日 上午 7:07 
We are aware of this problem, but unfortunately that's not on our side. The whole CoreSystems folder is not used and thus not present by this mod, it's one of the folders of the WeaponCore itself. I have made a report in WeaponCore discord about this problem some time ago, but all we can do is wait.
Visentinel 2023 年 3 月 18 日 上午 7:13 
hmmm any way to get the weaponcore team to just disable the decals and push an update ? its kindof making your two mods and potentially any weaponcore mod un-usable. IMO this bug is high to critical priority.
最后由 Visentinel 编辑于; 2023 年 3 月 18 日 上午 7:13
Foltast  [开发者] 2023 年 3 月 18 日 上午 8:14 
引用自 Visentinel
hmmm any way to get the weaponcore team to just disable the decals and push an update ? its kindof making your two mods and potentially any weaponcore mod un-usable. IMO this bug is high to critical priority.

So far we have been able to reproduce this problem only with the second mod and when shooting at shields. At least neither we nor the players on our server did not have a problem with the decals in the first mod

My guess is that the problem may be caused by the new WeaponCore API, which is currently used by an extremely small number of mods, including CA2
Visentinel 2023 年 3 月 18 日 下午 5:19 
Hey i dont know exactly what file on your end this is in but apparently you can control the decals in your ammo definition here

https://steamuserimages-a.akamaihd.net/ugc/2026096191571792067/1215BBFA3B2597D017D9BBEFF6D32CA206968FE6/

I reached out to Darkstar about this and unfortunately they arent going to do anything at all about this bug, its a keen problem apparently. Also Darkstar seems to think theres only been 1 report of this bug ? and he was a massive **** about this issue to me over in keens discord. Nukeguard was way way nicer to talk to and thats where i found out about the ammo def thing.

I hope this helps you guys :D !
最后由 Visentinel 编辑于; 2023 年 3 月 18 日 下午 5:22
Foltast  [开发者] 2023 年 3 月 18 日 下午 5:36 
引用自 Visentinel
Hey i dont know exactly what file on your end this is in but apparently you can control the decals in your ammo definition here

https://steamuserimages-a.akamaihd.net/ugc/2026096191571792067/1215BBFA3B2597D017D9BBEFF6D32CA206968FE6/

I reached out to Darkstar about this and unfortunately they arent going to do anything at all about this bug, its a keen problem apparently. Also Darkstar seems to think theres only been 1 report of this bug ? and he was a massive **** about this issue to me over in keens discord. Nukeguard was way way nicer to talk to and thats where i found out about the ammo def thing.

I hope this helps you guys :D !

Yes, sometimes he can be rough. And sometimes he doesn't pay attention to problems he doesn't really want to solve ;)
We already solved the problem on our side and ran the patch a few hours ago. The tests showed that the problem should be solved. Anyway, thank you very much for taking the time and trying to find a solution on your own and bring attention to it!
Visentinel 2023 年 3 月 18 日 下午 5:37 
Your welcome =D
< >
正在显示第 1 - 7 条,共 7 条留言
每页显示数: 1530 50