Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception: Component event creation for the item "spinelingspike" failed: Projectile.ValidateEventData returned false. (System.Exception) #15490

Open
1 of 2 tasks
Regalis11 opened this issue Jan 7, 2025 Discussed in #15114 · 0 comments
Labels
Bug Something isn't working Code Programming task Crash Some issue that causes the game to crash. Need more info Insufficient information to resolve the issue (e.g. steps to reproduce a bug) Networking Issue related to multiplayer or networking Ticket The issue has been converted into an issue report.

Comments

@Regalis11
Copy link
Collaborator

Discussed in #15114

Originally posted by maccam912 November 11, 2024

Disclaimers

  • I have searched the issue tracker to check if the issue has already been reported.
  • My issue happened while using mods.

What happened?

I tried to search, but didn't see any similar log lines mentioned.

When playing online with a friend in a private server, the server crashed during a fight with crawlers or spinelings. We restarted from last save and it crashed again at the beginning of a fight with the same creatures.

I tried to recreate it with a build from this source code on github. I created a multiplayer server from the in game menu again, but did not have anyone else to join me so it was just me. The fight with the creatures happened again but the crash didn't happen that time. The save is overwritten now sadly :(

Reproduction steps

Be in a multiplayer (from the in game menu) session with a friend and get into a fight with spinelings.

Sadly that is as much as I know. We saw the crash happen twice for the same reason (title of this discussion) but I couldn't reproduce it with a build from the source code and without a friend.

Bug prevalence

Happens every now and then

Single player or multiplayer?

Multiplayer hosted from the in-game menu (= using a listen server)

-

No response

Version

v1.6.19.1 (Unto the Breach Update Hotfix 2)

-

No response

Which operating system did you encounter this bug on?

Windows

Relevant error messages and crash reports

Barotrauma Dedicated Server crash report (generated on 11/11/2024 12:09:28)


Barotrauma seems to have crashed. Sorry for the inconvenience! 


Game version 1.6.19.1 (ReleaseWindows, branch release/autumn-update-hotfix-2, revision 89f5cd1f61)
Language: English
Selected content packages: Vanilla (A47CDC1)
Level seed: LocationName.generic.33103LocationName.city.5127
Loaded submarine: Dugong (704A353E1402A73C9CEF1AA2A36B1EF4)
Selected screen: Barotrauma.GameScreen
Server (Round had started)


System info:
    Operating system: Microsoft Windows NT 10.0.22635.0 64 bit


Exception: Component event creation for the item "spinelingspike" failed: Projectile.ValidateEventData returned false. (System.Exception)
Target site: Void CreateServerEvent[T](T, IEventData)
Stack trace: 
   at Barotrauma.Item.CreateServerEvent[T](T ic, IEventData extraData) in <DEV>\Barotrauma\BarotraumaServer\ServerSource\Items\Item.cs:line 427
   at Barotrauma.Items.Components.Projectile.Shoot(Character user, Vector2 weaponPos, Vector2 spawnPos, Single rotation, List`1 ignoredBodies, Boolean createNetworkEvent, Single damageMultiplier, Single launchImpulseModifier) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Items\Components\Projectile.cs:line 431
   at Barotrauma.StatusEffect.<>c__DisplayClass126_0.<SpawnItem>b__1(Item newItem) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\StatusEffects\StatusEffect.cs:line 2440
   at Barotrauma.EntitySpawner.Update(Boolean createNetworkEvents) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Networking\EntitySpawner.cs:line 451
   at Barotrauma.MapEntity.UpdateAll(Single deltaTime, Camera cam) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Map\MapEntity.cs:line 673
   at Barotrauma.GameScreen.Update(Double deltaTime) in <DEV>\Barotrauma\BarotraumaShared\SharedSource\Screens\GameScreen.cs:line 249
   at Barotrauma.GameMain.Run() in <DEV>\Barotrauma\BarotraumaServer\ServerSource\GameMain.cs:line 332
   at Barotrauma.Program.Main(String[] args) in <DEV>\Barotrauma\BarotraumaServer\ServerSource\Program.cs:line 85


Last debug messages:
   11/11/2024 12:09:28 - [11/11/2024 12:09:28]
  Saving banlist
   11/11/2024 12:09:28 - [11/11/2024 12:09:28]
  pompous_python launched Coilgun (projectile: Coilgun Bolt)
   11/11/2024 12:09:28 - [11/11/2024 12:09:28]
  pompous_python launched Coilgun (projectile: Coilgun Bolt)
   11/11/2024 12:09:28 - [11/11/2024 12:09:28]
  pompous_python launched Coilgun (projectile: Coilgun Bolt)
   11/11/2024 12:08:55 - [11/11/2024 12:08:55]
  Shelby Weaver: New target spotted!
   11/11/2024 12:08:52 - [11/11/2024 12:08:52]
  Crawler attacked by pompous_python. Lacerations: 15.0 Bleeding: 1.0
   11/11/2024 12:08:52 - [11/11/2024 12:08:52]
  Crawler has died (Cause of death: Lacerations)
   11/11/2024 12:08:51 - [11/11/2024 12:08:51]
  pompous_python launched Coilgun (projectile: Coilgun Bolt)
   11/11/2024 12:08:51 - [11/11/2024 12:08:51]
  pompous_python launched Coilgun (projectile: Coilgun Bolt)
   11/11/2024 12:08:51 - [11/11/2024 12:08:51]
  Crawler attacked by pompous_python. Lacerations: 15.0 Bleeding: 1.0
   11/11/2024 12:08:51 - [11/11/2024 12:08:51]
  pompous_python launched Coilgun (projectile: Coilgun Bolt)
   11/11/2024 12:08:51 - [11/11/2024 12:08:51]
  pompous_python launched Coilgun (projectile: Coilgun Bolt)
   11/11/2024 12:08:50 - [11/11/2024 12:08:50]
  pompous_python launched Coilgun (projectile: Coilgun Bolt)
   11/11/2024 12:08:50 - [11/11/2024 12:08:50]
  pompous_python launched Coilgun (projectile: Coilgun Bolt)
@Regalis11 Regalis11 added Bug Something isn't working Code Programming task Crash Some issue that causes the game to crash. Networking Issue related to multiplayer or networking Ticket The issue has been converted into an issue report. labels Jan 7, 2025
@Regalis11 Regalis11 added the Need more info Insufficient information to resolve the issue (e.g. steps to reproduce a bug) label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Code Programming task Crash Some issue that causes the game to crash. Need more info Insufficient information to resolve the issue (e.g. steps to reproduce a bug) Networking Issue related to multiplayer or networking Ticket The issue has been converted into an issue report.
Projects
None yet
Development

No branches or pull requests

1 participant