> I'm having some trouble with some code I'm using in Unity with C#.
While you may be using C#, the underlying code is still C++. It's quite clear
that you have some atoms with NULL residues (i.e., they don't have residues
set) and there are possibly some residues with NULL atoms. (Don't trust P
Brian,
not sure if related, but I had a similar issue a while ago, take a look here:
https://sourceforge.net/p/openbabel/mailman/message/32893219/
Maybe it helps,
S
--
Stefano Forli, PhD
Assistant Professor of Integrative
Structural and Computational Biology,
Molecular Graphics Laborato