Lex  
                
                  
                    March 9, 2021,  3:30pm
                   
                  1 
               
             
            
              Using Defold 1.2.180
I have a collection proxy component,msg.post(url,"load")
if I try to check the missingresources usinglocal missing_resources = collectionproxy.missing_resources(url)
then I get:
Unable to find collection proxy component
 
i can’t understand what’s happening. Help would be appreciated!
             
            
              
            
           
          
            
              
                Lex  
              
                  
                    March 9, 2021,  4:38pm
                   
                  2 
               
             
            
              OK I found out how to solve this.
You have to call the collectionproxy.missing_resources function from a script in the same object as the collection proxy 
Didn’t see that mentioned, or maybe my understand of Defold is still limited. Hope it can help some people with the same problem!
             
            
              1 Like 
            
            
           
          
            
              
                britzl  
              
                  
                    March 9, 2021,  6:48pm
                   
                  3 
               
             
            
              
 Lex:
 
You have to call the collectionproxy.missing_resources function from a script in the same object as the collection proxy 
Didn’t see that mentioned, or maybe my understand of Defold is still limited. Hope it can help some people with the same problem!
 
 
Are you sure about this? Can you please show an example of where it isn’t working?
             
            
              
            
           
          
            
              
                Lex  
              
                  
                    March 10, 2021, 11:11am
                   
                  4 
               
             
            
              Never mind.
I guess I needed some sleep because this is a rookie’s mistake 
             
            
              1 Like 
            
            
           
          
            
              
                britzl  
              
                  
                    March 10, 2021, 11:22am
                   
                  5 
               
             
            
              
 Lex:
 
I was actually calling a global function, therefore depending from where I was calling that function, the collectionproxy could be found, or not.
 
 
Yes, that explains it! Happy to hear you figured it out though!