Issue : chat transcript are not getting attached to Case records.
We have Snap-IN( Embedded Service chat) as well as Legacy Live Agent chat implementation in our org.
We are findings that there are lots chat transcripts which are not associated to its parent Case records. We are not able to find any RC for this as this is OOB feature where Chat transcript gets attached to Case record once it is completed. We have found 50 plus such records in our initial investigation.
We went through the help links but we did not get explicit information on such deviation/issue/bug.
I heard one of the common root causes is that "the agent needs to close the chat window" in order to have the chat transcript created-and-attached to the case.
https://ideas.salesforce.com/s/idea/a0B8W00000GdjacUAB/auto-save-chat-transcript-when-chat-ends