Search Issue Tracker
Fixed in 5.2.3
Votes
0
Found in
5.2.2p1
Issue ID
739432
Regression
Yes
InvalidProgramException: Invalid IL code when using SyncListStruct where each element also has an array
Steps to reproduce:
1. Open attached project
2. Open scene SyncListTest
3. Run scene
4. Press "Lan Host"
5. Open console and notice InvalidProgramException: Invalid IL code is thrown in console
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
- [RenderingDebugger][InputSystemPackage] Ctrl+Backspace shortcut doesn't work to open the Rendering Debugger when New Input System is in use
Dima Kurilchenko
Jan 10, 2016 15:52
Occurs in 5.3.0f4
Zoelovezle
Jan 06, 2016 11:44
Its not fixed , its still occurring in 5.3.0f4
DonaldW
Dec 24, 2015 02:09
All I need is something like "SyncDictionary".
The same exception occurs when I am trying to implement my SyncDictionary as follow:
public class SyncListDict<TKey, TValue> : SyncListStruct<SyncListDictKeyValue<TKey, TValue>>, IDictionary<TKey, TValue>
It's ok when I am a host. But after that, when another player connected to the host, the host throw this exception.
I know it has been documented as follows:
"The struct used SyncListStruct derived class can contain members of basic types, arrays, and common Unity types. They cannot contain complex classes or generic containers."
But why?
TheDelhiDuck
Nov 01, 2015 23:18
Still occurring in 5.2.2p2