The search for short-lived particles is an important part of physics research in experiments withrelativistic heavy ions. To find, select and study the properties of such short-lived particles in real timein the CBM experiment (FAIR/GSI, Germany), we have developed a package of algorithms, KFParticle Finder, which contains a search for more than 150 decay channels. The decays of short-livedcharged particles, when one of the daughter particles is neutral and cannot be registered in the detectorsystem, are also of great physics interest. To find and study such decays, we have extended the KFParticle Finder package by implementing the missing mass method, which is based on theconservation of energy and momentum laws.The method was studied in detail on simulated data of the CBM experiment, showing high efficiencywith a large signal-to-background ratio, as well as high significance. As part of the FAIR Phase-0program, the KF Particle Finder package of algorithms has been adapted for online and offlineprocessing in the STAR experiment (BNL, USA).Here we describe and discuss in detail the missing mass method for finding and analyzing short-livedparticles. The features of the application of the method to both simulated data in the CBM experimentand in the STAR experiment as part of real-time express data processing, as well as the results of thereal-time reconstruction of short-lived particle decays in the BES-II environment of the STARexperiment, are given.