Elvas Tower: Runtime.Serialization.SerializationException - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Runtime.Serialization.SerializationException Rate Topic: -----

#1 User is offline   copperpen 

  • Executive Vice President
  • Group: Status: Elite Member
  • Posts: 3,144
  • Joined: 08-August 05
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 30 April 2015 - 03:06 AM

This has appeared during a save and prevents further progress, full log attached. It is of a type I have not seen before,
Type 'ORTS.Viewer3D.ToggleCylinderCompoundCommand' in Assembly 'RunActivity,

The rest is in the log.

Attached File(s)



#2 User is offline   dennisat 

  • Conductor
  • Group: Status: Contributing Member
  • Posts: 474
  • Joined: 16-February 13
  • Gender:Male
  • Simulator:Open Rails & MSTS
  • Country:

Posted 30 April 2015 - 06:55 AM

View Postcopperpen, on 30 April 2015 - 03:06 AM, said:

This has appeared during a save and prevents further progress, full log attached. It is of a type I have not seen before,
Type 'ORTS.Viewer3D.ToggleCylinderCompoundCommand' in Assembly 'RunActivity,

The rest is in the log.


I'm not an expert in c# but I think the problem might be that class ToggleCylinderCompoundCommand in Commands.cs has not been marked [Serializable()].

Dennis

#3 User is online   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,491
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 30 April 2015 - 09:46 AM

View Postdennisat, on 30 April 2015 - 06:55 AM, said:

I'm not an expert in c# but I think the problem might be that class ToggleCylinderCompoundCommand in Commands.cs has not been marked [Serializable()].

That would have been my guess too, and a quick search of the source confirms that. Fixed in X3047.

#4 User is offline   copperpen 

  • Executive Vice President
  • Group: Status: Elite Member
  • Posts: 3,144
  • Joined: 08-August 05
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 01 May 2015 - 12:12 PM

A big thank you from my friend in America. He reports everything is great again and did not even have to restart the activity, the last good save worked nicely on restore.

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users